Home
last modified time | relevance | path

Searched refs:algId (Results 1 – 25 of 25) sorted by relevance

/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/x509/
DSubjectPublicKeyInfo.java24 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()
DDigestInfo.java27 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/
DSubjectPublicKeyInfo.java27 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()
DDigestInfo.java29 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/
DEncryptionScheme.java13 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()
DEncryptedPrivateKeyInfo.java17 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()
DKeyDerivationFunc.java13 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/
DEncryptionScheme.java17 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()
DEncryptedPrivateKeyInfo.java21 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()
DKeyDerivationFunc.java17 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/
DKeyUtil.java11 …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/
DKeyUtil.java15 …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/
DPrivateKeyFactory.java97 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()
DPublicKeyFactory.java154 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/
DDigestSignatureSpi.java46 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/
DDigestSignatureSpi.java50 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/
DX0017_StrongEncryptionHeader.java252 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/
DPrivateKeyFactory.java99 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()
DPublicKeyFactory.java156 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/
DCMSSignedHelper.java155 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/
DRSADigestSigner.java31 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/
DRSADigestSigner.java35 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/
DPKCS12KeyStoreSpi.java612 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/
DPKCS12KeyStoreSpi.java616 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/
Dschannel.c2198 const unsigned int algId) in Curl_schannel_checksum() argument
2216 if(!CryptCreateHash(hProv, algId, 0, 0, &hHash)) in Curl_schannel_checksum()