/external/bouncycastle/src/main/java/org/bouncycastle/asn1/x509/ |
D | SubjectPublicKeyInfo.java | 25 private AlgorithmIdentifier algId; field in SubjectPublicKeyInfo 51 AlgorithmIdentifier algId, in SubjectPublicKeyInfo() argument 55 this.algId = algId; in SubjectPublicKeyInfo() 59 AlgorithmIdentifier algId, in SubjectPublicKeyInfo() argument 63 this.algId = algId; in SubjectPublicKeyInfo() 77 this.algId = AlgorithmIdentifier.getInstance(e.nextElement()); in SubjectPublicKeyInfo() 83 return algId; in getAlgorithmId() 121 v.add(algId); in toASN1Object()
|
D | DigestInfo.java | 26 private AlgorithmIdentifier algId; field in DigestInfo 51 AlgorithmIdentifier algId, in DigestInfo() argument 55 this.algId = algId; in DigestInfo() 63 algId = AlgorithmIdentifier.getInstance(e.nextElement()); in DigestInfo() 69 return algId; in getAlgorithmId() 81 v.add(algId); in toASN1Object()
|
/external/bouncycastle/src/main/java/org/bouncycastle/asn1/pkcs/ |
D | PrivateKeyInfo.java | 25 private AlgorithmIdentifier algId; field in PrivateKeyInfo 51 AlgorithmIdentifier algId, in PrivateKeyInfo() argument 54 this(algId, privateKey, null); in PrivateKeyInfo() 58 AlgorithmIdentifier algId, in PrivateKeyInfo() argument 63 this.algId = algId; in PrivateKeyInfo() 78 algId = new AlgorithmIdentifier((ASN1Sequence)e.nextElement()); in PrivateKeyInfo() 99 return algId; in getAlgorithmId() 134 v.add(algId); in toASN1Object()
|
D | EncryptedPrivateKeyInfo.java | 17 private AlgorithmIdentifier algId; field in EncryptedPrivateKeyInfo 25 algId = AlgorithmIdentifier.getInstance(e.nextElement()); in EncryptedPrivateKeyInfo() 30 AlgorithmIdentifier algId, in EncryptedPrivateKeyInfo() argument 33 this.algId = algId; in EncryptedPrivateKeyInfo() 54 return algId; in getEncryptionAlgorithm() 81 v.add(algId); in toASN1Object()
|
/external/bouncycastle/src/main/java/org/bouncycastle/crypto/util/ |
D | PublicKeyFactory.java | 102 AlgorithmIdentifier algId = keyInfo.getAlgorithmId(); in createKey() local 104 if (algId.getObjectId().equals(PKCSObjectIdentifiers.rsaEncryption) in createKey() 105 || algId.getObjectId().equals(X509ObjectIdentifiers.id_ea_rsa)) in createKey() 111 else if (algId.getObjectId().equals(PKCSObjectIdentifiers.dhKeyAgreement) in createKey() 112 || algId.getObjectId().equals(X9ObjectIdentifiers.dhpublicnumber)) in createKey() 132 else if (algId.getObjectId().equals(X9ObjectIdentifiers.id_dsa) in createKey() 133 || algId.getObjectId().equals(OIWObjectIdentifiers.dsaWithSHA1)) in createKey()
|
D | PrivateKeyFactory.java | 97 AlgorithmIdentifier algId = keyInfo.getAlgorithmId(); in createKey() local 99 if (algId.getObjectId().equals(PKCSObjectIdentifiers.rsaEncryption)) in createKey() 113 else if (algId.getObjectId().equals(PKCSObjectIdentifiers.dhKeyAgreement)) in createKey()
|
/external/bouncycastle/src/main/java/org/bouncycastle/jce/provider/ |
D | JDKDigestSignature.java | 52 private AlgorithmIdentifier algId; field in JDKDigestSignature 61 this.algId = null; in JDKDigestSignature() 72 this.algId = new AlgorithmIdentifier(objId, DERNull.INSTANCE); in JDKDigestSignature() 254 if (algId == null) in derEncode() 260 DigestInfo dInfo = new DigestInfo(algId, hash); in derEncode()
|
D | JDKPKCS12KeyStore.java | 559 AlgorithmIdentifier algId, in unwrapKey() argument 565 String algorithm = algId.getObjectId().getId(); in unwrapKey() 566 PKCS12PBEParams pbeParams = new PKCS12PBEParams((ASN1Sequence)algId.getParameters()); in unwrapKey() 632 AlgorithmIdentifier algId, in cryptData() argument 638 String algorithm = algId.getObjectId().getId(); in cryptData() 639 PKCS12PBEParams pbeParams = new PKCS12PBEParams((ASN1Sequence)algId.getParameters()); in cryptData() 703 AlgorithmIdentifier algId = dInfo.getAlgorithmId(); in engineLoad() local 711 … byte[] res = calculatePbeMac(algId.getObjectId(), salt, itCount, password, false, data); in engineLoad() 722 res = calculatePbeMac(algId.getObjectId(), salt, itCount, password, true, data); in engineLoad() 1460 AlgorithmIdentifier algId = new AlgorithmIdentifier(id_SHA1, DERNull.INSTANCE); in engineStore() local [all …]
|
/external/bouncycastle/src/main/java/org/bouncycastle/crypto/signers/ |
D | RSADigestSigner.java | 28 private final AlgorithmIdentifier algId; field in RSADigestSigner 61 …algId = new AlgorithmIdentifier((DERObjectIdentifier)oidMap.get(digest.getAlgorithmName()), DERNul… in RSADigestSigner() 228 DigestInfo dInfo = new DigestInfo(algId, hash); in derEncode()
|
/external/bouncycastle/patches/ |
D | android.patch | 2651 - else if (algId.getObjectId().equals(OIWObjectIdentifiers.elGamalAlgorithm)) 2658 - else if (algId.getObjectId().equals(X9ObjectIdentifiers.id_dsa)) 2672 - else if (algId.getObjectId().equals(X9ObjectIdentifiers.id_ecPublicKey)) 2721 + // else if (algId.getObjectId().equals(OIWObjectIdentifiers.elGamalAlgorithm)) 2728 + // else if (algId.getObjectId().equals(X9ObjectIdentifiers.id_dsa)) 2742 + // else if (algId.getObjectId().equals(X9ObjectIdentifiers.id_ecPublicKey)) 2854 - else if (algId.getObjectId().equals(OIWObjectIdentifiers.elGamalAlgorithm)) 2862 + // else if (algId.getObjectId().equals(OIWObjectIdentifiers.elGamalAlgorithm)) 2870 else if (algId.getObjectId().equals(X9ObjectIdentifiers.id_dsa) 2871 || algId.getObjectId().equals(OIWObjectIdentifiers.dsaWithSHA1)) [all …]
|