HomeSort by relevance Sort by last modified time
    Searched refs:AlgNameMapper (Results 1 - 11 of 11) sorted by null

  /external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/utils/
AlgNameMapperTest.java 20 import org.apache.harmony.security.utils.AlgNameMapper;
27 * @tests org.apache.harmony.security.utils.AlgNameMapper#getStandardName(String)
32 String standardName = AlgNameMapper
38 * @tests org.apache.harmony.security.utils.AlgNameMapper#isOID(String)
47 assertTrue(AlgNameMapper.isOID(normalOID));
48 assertFalse(AlgNameMapper.isOID(badOID));
49 assertFalse(AlgNameMapper.isOID(notOID));
53 * @tests org.apache.harmony.security.utils.AlgNameMapper.selectEntries(Provider)
62 assertEquals(hardcodedOID, AlgNameMapper.map2OID(algStandardName));
63 assertEquals(algStandardName, AlgNameMapper.map2AlgName(hardcodedOID))
    [all...]
  /libcore/luni/src/test/java/org/apache/harmony/security/tests/
AlgNameMapperTest.java 19 import org.apache.harmony.security.utils.AlgNameMapper;
57 AlgNameMapper.map2AlgName(HARDCODED_ALIASES[i][0]).toUpperCase(Locale.US));
60 AlgNameMapper.map2OID(HARDCODED_ALIASES[i][1]));
63 AlgNameMapper.getStandardName(HARDCODED_ALIASES[i][1]
66 assertTrue(AlgNameMapper.isOID(HARDCODED_ALIASES[i][0]));
80 {"2.16.840.1.101.3.4.2.3", "SHA512"}, // This isn't currently hardcoded in AlgNameMapper
90 String algName = AlgNameMapper.map2AlgName(NON_HARDCODED_ALIASES[i][0]);
95 String oid = AlgNameMapper.map2OID(algName);
  /libcore/luni/src/main/java/javax/crypto/
EncryptedPrivateKeyInfo.java 37 import org.apache.harmony.security.utils.AlgNameMapper;
447 if (AlgNameMapper.isOID(this.algName)) {
450 this.oid = AlgNameMapper.normalize(this.algName);
452 this.algName = AlgNameMapper.map2AlgName(this.oid);
459 String stdName = AlgNameMapper.getStandardName(this.algName);
463 this.oid = AlgNameMapper.map2OID(this.algName);
469 this.oid = AlgNameMapper.map2OID(stdName);
  /libcore/luni/src/main/java/org/apache/harmony/security/provider/crypto/
DSAPrivateKeyImpl.java 41 import org.apache.harmony.security.utils.AlgNameMapper;
77 AlgorithmIdentifier ai = new AlgorithmIdentifier(AlgNameMapper
142 algName = AlgNameMapper.map2AlgName(alg);
DSAPublicKeyImpl.java 42 import org.apache.harmony.security.utils.AlgNameMapper;
79 AlgorithmIdentifier ai = new AlgorithmIdentifier(AlgNameMapper
146 algName = AlgNameMapper.map2AlgName(alg);
  /libcore/luni/src/main/java/org/apache/harmony/security/x509/
AlgorithmIdentifier.java 32 import org.apache.harmony.security.utils.AlgNameMapper;
96 algorithmName = AlgNameMapper.map2AlgName(algorithm);
  /libcore/luni/src/main/java/org/apache/harmony/security/utils/
AlgNameMapper.java 40 public class AlgNameMapper {
106 private AlgNameMapper() {
  /libcore/luni/src/main/java/org/apache/harmony/security/provider/cert/
X509CRLImpl.java 46 import org.apache.harmony.security.utils.AlgNameMapper;
357 sigAlgName = AlgNameMapper.map2AlgName(sigAlgOID);
372 sigAlgName = AlgNameMapper.map2AlgName(sigAlgOID);
X509CertImpl.java 46 import org.apache.harmony.security.utils.AlgNameMapper;
244 result = AlgNameMapper.map2AlgName(sigAlgOIDLocal);
  /libcore/luni/src/main/java/org/apache/harmony/xnet/provider/jsse/
OpenSSLX509CRL.java 19 import org.apache.harmony.security.utils.AlgNameMapper;
333 return AlgNameMapper.map2AlgName(getSigAlgOID());
OpenSSLX509Certificate.java 19 import org.apache.harmony.security.utils.AlgNameMapper;
271 return AlgNameMapper.map2AlgName(getSigAlgOID());

Completed in 1411 milliseconds