Searched refs:privateKeyInfo (Results 1 - 2 of 2) sorted by relevance
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jce/provider/ |
H A D | BouncyCastleProvider.java | 297 public static PrivateKey getPrivateKey(PrivateKeyInfo privateKeyInfo) argument 300 AsymmetricKeyInfoConverter converter = (AsymmetricKeyInfoConverter)keyInfoConverters.get(privateKeyInfo.getPrivateKeyAlgorithm().getAlgorithm()); 307 return converter.generatePrivate(privateKeyInfo);
|
/external/apache-harmony/crypto/src/test/api/java/org/apache/harmony/crypto/tests/javax/crypto/ |
H A D | EncryptedPrivateKeyInfoTest.java | 1066 algName[i][1], privateKeyInfo, null); 1081 if (!Arrays.equals(privateKeyInfo, eks.getEncoded())) { 1168 algName[i][1], privateKeyInfo, null); 1182 if (!Arrays.equals(privateKeyInfo, eks.getEncoded())) { 1290 privateKeyInfo, provider[l]); 1310 if (!Arrays.equals(privateKeyInfo, eks.getEncoded())) { 1432 privateKeyInfo, provider[l]); 1451 if (!Arrays.equals(privateKeyInfo, eks.getEncoded())) { 1529 byte[] privateKeyInfo, Provider provider) throws AllowedFailure { 1599 ct = c.doFinal(privateKeyInfo); 1528 TestDataGenerator(String algName, String transformation, byte[] privateKeyInfo, Provider provider) argument 1665 private static final byte[] privateKeyInfo = { (byte) 0x30, (byte) 0x82, field in class:EncryptedPrivateKeyInfoTest [all...] |
Completed in 179 milliseconds