/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/x509/ |
D | SubjectPublicKeyInfo.java | 24 private AlgorithmIdentifier algId; field in SubjectPublicKeyInfo 50 AlgorithmIdentifier algId, in SubjectPublicKeyInfo() argument 55 this.algId = algId; in SubjectPublicKeyInfo() 59 AlgorithmIdentifier algId, in SubjectPublicKeyInfo() argument 63 this.algId = algId; in SubjectPublicKeyInfo() 80 this.algId = AlgorithmIdentifier.getInstance(e.nextElement()); in SubjectPublicKeyInfo() 86 return algId; in getAlgorithm() 95 return algId; in getAlgorithmId() 149 v.add(algId); in toASN1Primitive()
|
D | DigestInfo.java | 27 private AlgorithmIdentifier algId; field in DigestInfo 52 AlgorithmIdentifier algId, in DigestInfo() argument 56 this.algId = algId; in DigestInfo() 64 algId = AlgorithmIdentifier.getInstance(e.nextElement()); in DigestInfo() 70 return algId; in getAlgorithmId() 82 v.add(algId); in toASN1Primitive()
|
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/asn1/x509/ |
D | SubjectPublicKeyInfo.java | 27 private AlgorithmIdentifier algId; field in SubjectPublicKeyInfo 55 AlgorithmIdentifier algId, in SubjectPublicKeyInfo() argument 60 this.algId = algId; in SubjectPublicKeyInfo() 64 AlgorithmIdentifier algId, in SubjectPublicKeyInfo() argument 68 this.algId = algId; in SubjectPublicKeyInfo() 85 this.algId = AlgorithmIdentifier.getInstance(e.nextElement()); in SubjectPublicKeyInfo() 91 return algId; in getAlgorithm() 100 return algId; in getAlgorithmId() 154 v.add(algId); in toASN1Primitive()
|
D | DigestInfo.java | 29 private AlgorithmIdentifier algId; field in DigestInfo 55 AlgorithmIdentifier algId, in DigestInfo() argument 59 this.algId = algId; in DigestInfo() 67 algId = AlgorithmIdentifier.getInstance(e.nextElement()); in DigestInfo() 73 return algId; in getAlgorithmId() 85 v.add(algId); in toASN1Primitive()
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/pkcs/ |
D | EncryptionScheme.java | 13 private AlgorithmIdentifier algId; field in EncryptionScheme 18 this.algId = new AlgorithmIdentifier(objectId); in EncryptionScheme() 25 this.algId = new AlgorithmIdentifier(objectId, parameters); in EncryptionScheme() 31 this.algId = AlgorithmIdentifier.getInstance(seq); in EncryptionScheme() 50 return algId.getAlgorithm(); in getAlgorithm() 55 return algId.getParameters(); in getParameters() 60 return algId.toASN1Primitive(); in toASN1Primitive()
|
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 toASN1Primitive()
|
D | KeyDerivationFunc.java | 13 private AlgorithmIdentifier algId; field in KeyDerivationFunc 19 this.algId = new AlgorithmIdentifier(objectId, parameters); in KeyDerivationFunc() 25 this.algId = AlgorithmIdentifier.getInstance(seq); in KeyDerivationFunc() 44 return algId.getAlgorithm(); in getAlgorithm() 49 return algId.getParameters(); in getParameters() 54 return algId.toASN1Primitive(); in toASN1Primitive()
|
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/asn1/pkcs/ |
D | EncryptionScheme.java | 17 private AlgorithmIdentifier algId; field in EncryptionScheme 22 this.algId = new AlgorithmIdentifier(objectId); in EncryptionScheme() 29 this.algId = new AlgorithmIdentifier(objectId, parameters); in EncryptionScheme() 35 this.algId = AlgorithmIdentifier.getInstance(seq); in EncryptionScheme() 54 return algId.getAlgorithm(); in getAlgorithm() 59 return algId.getParameters(); in getParameters() 64 return algId.toASN1Primitive(); in toASN1Primitive()
|
D | EncryptedPrivateKeyInfo.java | 21 private AlgorithmIdentifier algId; field in EncryptedPrivateKeyInfo 29 algId = AlgorithmIdentifier.getInstance(e.nextElement()); in EncryptedPrivateKeyInfo() 34 AlgorithmIdentifier algId, in EncryptedPrivateKeyInfo() argument 37 this.algId = algId; in EncryptedPrivateKeyInfo() 58 return algId; in getEncryptionAlgorithm() 85 v.add(algId); in toASN1Primitive()
|
D | KeyDerivationFunc.java | 17 private AlgorithmIdentifier algId; field in KeyDerivationFunc 23 this.algId = new AlgorithmIdentifier(objectId, parameters); in KeyDerivationFunc() 29 this.algId = AlgorithmIdentifier.getInstance(seq); in KeyDerivationFunc() 48 return algId.getAlgorithm(); in getAlgorithm() 53 return algId.getParameters(); in getParameters() 58 return algId.toASN1Primitive(); in toASN1Primitive()
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/util/ |
D | KeyUtil.java | 11 …public static byte[] getEncodedSubjectPublicKeyInfo(AlgorithmIdentifier algId, ASN1Encodable keyDa… in getEncodedSubjectPublicKeyInfo() argument 15 return getEncodedSubjectPublicKeyInfo(new SubjectPublicKeyInfo(algId, keyData)); in getEncodedSubjectPublicKeyInfo() 23 public static byte[] getEncodedSubjectPublicKeyInfo(AlgorithmIdentifier algId, byte[] keyData) in getEncodedSubjectPublicKeyInfo() argument 27 return getEncodedSubjectPublicKeyInfo(new SubjectPublicKeyInfo(algId, keyData)); in getEncodedSubjectPublicKeyInfo() 47 public static byte[] getEncodedPrivateKeyInfo(AlgorithmIdentifier algId, ASN1Encodable privKey) in getEncodedPrivateKeyInfo() argument 51 PrivateKeyInfo info = new PrivateKeyInfo(algId, privKey.toASN1Primitive()); in getEncodedPrivateKeyInfo()
|
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/jcajce/provider/asymmetric/util/ |
D | KeyUtil.java | 15 …public static byte[] getEncodedSubjectPublicKeyInfo(AlgorithmIdentifier algId, ASN1Encodable keyDa… in getEncodedSubjectPublicKeyInfo() argument 19 return getEncodedSubjectPublicKeyInfo(new SubjectPublicKeyInfo(algId, keyData)); in getEncodedSubjectPublicKeyInfo() 27 public static byte[] getEncodedSubjectPublicKeyInfo(AlgorithmIdentifier algId, byte[] keyData) in getEncodedSubjectPublicKeyInfo() argument 31 return getEncodedSubjectPublicKeyInfo(new SubjectPublicKeyInfo(algId, keyData)); in getEncodedSubjectPublicKeyInfo() 51 public static byte[] getEncodedPrivateKeyInfo(AlgorithmIdentifier algId, ASN1Encodable privKey) in getEncodedPrivateKeyInfo() argument 55 PrivateKeyInfo info = new PrivateKeyInfo(algId, privKey.toASN1Primitive()); in getEncodedPrivateKeyInfo()
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/util/ |
D | PrivateKeyFactory.java | 97 AlgorithmIdentifier algId = keyInfo.getPrivateKeyAlgorithm(); in createKey() local 98 ASN1ObjectIdentifier algOID = algId.getAlgorithm(); in createKey() 115 DHParameter params = DHParameter.getInstance(algId.getParameters()); in createKey() 139 ASN1Encodable de = algId.getParameters(); in createKey() 152 X962Parameters params = new X962Parameters((ASN1Primitive)algId.getParameters()); in createKey()
|
D | PublicKeyFactory.java | 154 AlgorithmIdentifier algId = keyInfo.getAlgorithm(); in createKey() local 155 …icKeyInfoConverter converter = (SubjectPublicKeyInfoConverter)converters.get(algId.getAlgorithm()); in createKey() 163 …throw new IOException("algorithm identifier in public key not recognised: " + algId.getAlgorithm()… in createKey()
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/rsa/ |
D | DigestSignatureSpi.java | 46 private AlgorithmIdentifier algId; field in DigestSignatureSpi 55 this.algId = null; in DigestSignatureSpi() 66 this.algId = new AlgorithmIdentifier(objId, DERNull.INSTANCE); in DigestSignatureSpi() 239 if (algId == null) in derEncode() 245 DigestInfo dInfo = new DigestInfo(algId, hash); in derEncode()
|
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/jcajce/provider/asymmetric/rsa/ |
D | DigestSignatureSpi.java | 50 private AlgorithmIdentifier algId; field in DigestSignatureSpi 59 this.algId = null; in DigestSignatureSpi() 70 this.algId = new AlgorithmIdentifier(objId, DERNull.INSTANCE); in DigestSignatureSpi() 243 if (algId == null) in derEncode() 249 DigestInfo dInfo = new DigestInfo(algId, hash); in derEncode()
|
/external/apache-commons-compress/src/main/java/org/apache/commons/compress/archivers/zip/ |
D | X0017_StrongEncryptionHeader.java | 252 private EncryptionAlgorithm algId; field in X0017_StrongEncryptionHeader 292 return algId; in getEncryptionAlgorithm() 304 this.algId = EncryptionAlgorithm.getAlgorithmByCode(ZipShort.getValue(data, offset + 2)); in parseCentralDirectoryFormat() 336 … this.algId = EncryptionAlgorithm.getAlgorithmByCode(ZipShort.getValue(data, offset + ivSize + 8)); in parseFileFormat()
|
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/crypto/util/ |
D | PrivateKeyFactory.java | 99 AlgorithmIdentifier algId = keyInfo.getPrivateKeyAlgorithm(); in createKey() local 100 ASN1ObjectIdentifier algOID = algId.getAlgorithm(); in createKey() 117 DHParameter params = DHParameter.getInstance(algId.getParameters()); in createKey() 141 ASN1Encodable de = algId.getParameters(); in createKey() 154 X962Parameters params = new X962Parameters((ASN1Primitive)algId.getParameters()); in createKey()
|
D | PublicKeyFactory.java | 156 AlgorithmIdentifier algId = keyInfo.getAlgorithm(); in createKey() local 157 …icKeyInfoConverter converter = (SubjectPublicKeyInfoConverter)converters.get(algId.getAlgorithm()); in createKey() 165 …throw new IOException("algorithm identifier in public key not recognised: " + algId.getAlgorithm()… in createKey()
|
/external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/cms/ |
D | CMSSignedHelper.java | 155 AlgorithmIdentifier fixAlgID(AlgorithmIdentifier algId) in fixAlgID() argument 157 if (algId.getParameters() == null) in fixAlgID() 159 return new AlgorithmIdentifier(algId.getAlgorithm(), DERNull.INSTANCE); in fixAlgID() 162 return algId; in fixAlgID()
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/signers/ |
D | RSADigestSigner.java | 31 private final AlgorithmIdentifier algId; field in RSADigestSigner 81 this.algId = new AlgorithmIdentifier(digestOid, DERNull.INSTANCE); in RSADigestSigner() 249 DigestInfo dInfo = new DigestInfo(algId, hash); in derEncode()
|
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/crypto/signers/ |
D | RSADigestSigner.java | 35 private final AlgorithmIdentifier algId; field in RSADigestSigner 85 this.algId = new AlgorithmIdentifier(digestOid, DERNull.INSTANCE); in RSADigestSigner() 253 DigestInfo dInfo = new DigestInfo(algId, hash); in derEncode()
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/keystore/pkcs12/ |
D | PKCS12KeyStoreSpi.java | 612 AlgorithmIdentifier algId, in unwrapKey() argument 618 ASN1ObjectIdentifier algorithm = algId.getAlgorithm(); in unwrapKey() 623 PKCS12PBEParams pbeParams = PKCS12PBEParams.getInstance(algId.getParameters()); in unwrapKey() 640 Cipher cipher = createCipher(Cipher.UNWRAP_MODE, password, algId); in unwrapKey() 687 AlgorithmIdentifier algId, in cryptData() argument 693 ASN1ObjectIdentifier algorithm = algId.getAlgorithm(); in cryptData() 698 PKCS12PBEParams pbeParams = PKCS12PBEParams.getInstance(algId.getParameters()); in cryptData() 720 Cipher cipher = createCipher(mode, password, algId); in cryptData() 735 private Cipher createCipher(int mode, char[] password, AlgorithmIdentifier algId) in createCipher() argument 738 PBES2Parameters alg = PBES2Parameters.getInstance(algId.getParameters()); in createCipher()
|
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/jcajce/provider/keystore/pkcs12/ |
D | PKCS12KeyStoreSpi.java | 616 AlgorithmIdentifier algId, in unwrapKey() argument 622 ASN1ObjectIdentifier algorithm = algId.getAlgorithm(); in unwrapKey() 627 PKCS12PBEParams pbeParams = PKCS12PBEParams.getInstance(algId.getParameters()); in unwrapKey() 644 Cipher cipher = createCipher(Cipher.UNWRAP_MODE, password, algId); in unwrapKey() 691 AlgorithmIdentifier algId, in cryptData() argument 697 ASN1ObjectIdentifier algorithm = algId.getAlgorithm(); in cryptData() 702 PKCS12PBEParams pbeParams = PKCS12PBEParams.getInstance(algId.getParameters()); in cryptData() 724 Cipher cipher = createCipher(mode, password, algId); in cryptData() 739 private Cipher createCipher(int mode, char[] password, AlgorithmIdentifier algId) in createCipher() argument 742 PBES2Parameters alg = PBES2Parameters.getInstance(algId.getParameters()); in createCipher()
|
/external/curl/lib/vtls/ |
D | schannel.c | 2198 const unsigned int algId) in Curl_schannel_checksum() argument 2216 if(!CryptCreateHash(hProv, algId, 0, 0, &hHash)) in Curl_schannel_checksum()
|