Home
last modified time | relevance | path

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

/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/x509/
DSubjectPublicKeyInfo.java25 private AlgorithmIdentifier algId; field in SubjectPublicKeyInfo
51 AlgorithmIdentifier algId, in SubjectPublicKeyInfo() argument
56 this.algId = algId; in SubjectPublicKeyInfo()
60 AlgorithmIdentifier algId, in SubjectPublicKeyInfo() argument
64 this.algId = algId; in SubjectPublicKeyInfo()
81 this.algId = AlgorithmIdentifier.getInstance(e.nextElement()); in SubjectPublicKeyInfo()
87 return algId; in getAlgorithm()
96 return algId; in getAlgorithmId()
154 v.add(algId); in toASN1Primitive()
DDigestInfo.java26 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 toASN1Primitive()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/pkcs/
DPrivateKeyInfo.java26 private AlgorithmIdentifier algId; field in PrivateKeyInfo
52 AlgorithmIdentifier algId, in PrivateKeyInfo() argument
56 this(algId, privateKey, null); in PrivateKeyInfo()
60 AlgorithmIdentifier algId, in PrivateKeyInfo() argument
66 this.algId = algId; in PrivateKeyInfo()
85 algId = AlgorithmIdentifier.getInstance(e.nextElement()); in PrivateKeyInfo()
96 return algId; in getPrivateKeyAlgorithm()
103 return algId; in getAlgorithmId()
154 v.add(algId); 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()
DEncryptionScheme.java13 private AlgorithmIdentifier algId; field in EncryptionScheme
19 this.algId = new AlgorithmIdentifier(objectId, parameters); in EncryptionScheme()
25 this.algId = AlgorithmIdentifier.getInstance(seq); in EncryptionScheme()
44 return algId.getAlgorithm(); in getAlgorithm()
49 return algId.getParameters(); in getParameters()
54 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/bcprov/src/main/java/org/bouncycastle/crypto/util/
DPublicKeyFactory.java88 AlgorithmIdentifier algId = keyInfo.getAlgorithm(); in createKey() local
90 if (algId.getAlgorithm().equals(PKCSObjectIdentifiers.rsaEncryption) in createKey()
91 || algId.getAlgorithm().equals(X509ObjectIdentifiers.id_ea_rsa)) in createKey()
97 else if (algId.getAlgorithm().equals(X9ObjectIdentifiers.dhpublicnumber)) in createKey()
103 DomainParameters dhParams = DomainParameters.getInstance(algId.getParameters()); in createKey()
129 else if (algId.getAlgorithm().equals(PKCSObjectIdentifiers.dhKeyAgreement)) in createKey()
131 DHParameter params = DHParameter.getInstance(algId.getParameters()); in createKey()
150 else if (algId.getAlgorithm().equals(X9ObjectIdentifiers.id_dsa) in createKey()
151 || algId.getAlgorithm().equals(OIWObjectIdentifiers.dsaWithSHA1)) in createKey()
154 ASN1Encodable de = algId.getParameters(); in createKey()
[all …]
DPrivateKeyFactory.java81 AlgorithmIdentifier algId = keyInfo.getPrivateKeyAlgorithm(); in createKey() local
83 if (algId.getAlgorithm().equals(PKCSObjectIdentifiers.rsaEncryption)) in createKey()
94 else if (algId.getAlgorithm().equals(PKCSObjectIdentifiers.dhKeyAgreement)) in createKey()
96 DHParameter params = DHParameter.getInstance(algId.getParameters()); in createKey()
115 else if (algId.getAlgorithm().equals(X9ObjectIdentifiers.id_dsa)) in createKey()
118 ASN1Encodable de = algId.getParameters(); in createKey()
129 else if (algId.getAlgorithm().equals(X9ObjectIdentifiers.id_ecPublicKey)) in createKey()
131 X962Parameters params = new X962Parameters((ASN1Primitive)algId.getParameters()); in createKey()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/rsa/
DDigestSignatureSpi.java55 private AlgorithmIdentifier algId; field in DigestSignatureSpi
64 this.algId = null; in DigestSignatureSpi()
75 this.algId = new AlgorithmIdentifier(objId, DERNull.INSTANCE); in DigestSignatureSpi()
249 if (algId == null) in derEncode()
255 DigestInfo dInfo = new DigestInfo(algId, hash); in derEncode()
/external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/cms/
DCMSSignedHelper.java146 AlgorithmIdentifier fixAlgID(AlgorithmIdentifier algId) in fixAlgID() argument
148 if (algId.getParameters() == null) in fixAlgID()
150 return new AlgorithmIdentifier(algId.getAlgorithm(), DERNull.INSTANCE); in fixAlgID()
153 return algId; in fixAlgID()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/signers/
DRSADigestSigner.java31 private final AlgorithmIdentifier algId; field in RSADigestSigner
74 this.algId = new AlgorithmIdentifier(digestOid, DERNull.INSTANCE); in RSADigestSigner()
242 DigestInfo dInfo = new DigestInfo(algId, hash); in derEncode()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/keystore/pkcs12/
DPKCS12KeyStoreSpi.java605 AlgorithmIdentifier algId, in unwrapKey() argument
611 ASN1ObjectIdentifier algorithm = algId.getAlgorithm(); in unwrapKey()
616 PKCS12PBEParams pbeParams = PKCS12PBEParams.getInstance(algId.getParameters()); in unwrapKey()
633 Cipher cipher = createCipher(Cipher.UNWRAP_MODE, password, algId); in unwrapKey()
680 AlgorithmIdentifier algId, in cryptData() argument
686 ASN1ObjectIdentifier algorithm = algId.getAlgorithm(); in cryptData()
691 PKCS12PBEParams pbeParams = PKCS12PBEParams.getInstance(algId.getParameters()); in cryptData()
715 Cipher cipher = createCipher(mode, password, algId); in cryptData()
730 private Cipher createCipher(int mode, char[] password, AlgorithmIdentifier algId) in createCipher() argument
733 PBES2Parameters alg = PBES2Parameters.getInstance(algId.getParameters()); in createCipher()
[all …]
/external/tpm2/
DCryptUtil_fp.h168 CryptHashBlock(TPM_ALG_ID algId, // IN: the hash algorithm to use
DCryptUtil.c483 TPM_ALG_ID algId, // IN: the hash algorithm to use in CryptHashBlock() argument
490 TEST_HASH(algId); in CryptHashBlock()
491 return _cpri__HashBlock(algId, blockSize, block, retSize, ret); in CryptHashBlock()
Dpart4.txt19855 320 TPM_ALG_ID algId, // IN: the hash algorithm to use
19862 327 TEST_HASH(algId);
19864 329 return _cpri__HashBlock(algId, blockSize, block, retSize, ret);
/external/bouncycastle/patches/
Dbcprov.patch1208 - else if (algId.getAlgorithm().equals(OIWObjectIdentifiers.elGamalAlgorithm))
1210 - ElGamalParameter params = ElGamalParameter.getInstance(algId.getParameters());
1217 + // else if (algId.getAlgorithm().equals(OIWObjectIdentifiers.elGamalAlgorithm))
1219 + // ElGamalParameter params = ElGamalParameter.getInstance(algId.getParameters());
1226 else if (algId.getAlgorithm().equals(X9ObjectIdentifiers.id_dsa))
1260 - else if (algId.getAlgorithm().equals(OIWObjectIdentifiers.elGamalAlgorithm))
1262 - ElGamalParameter params = ElGamalParameter.getInstance(algId.getParameters());
1269 + // else if (algId.getAlgorithm().equals(OIWObjectIdentifiers.elGamalAlgorithm))
1271 + // ElGamalParameter params = ElGamalParameter.getInstance(algId.getParameters());
1278 else if (algId.getAlgorithm().equals(X9ObjectIdentifiers.id_dsa)
[all …]
/external/google-tv-pairing-protocol/java/jar/
Dbcprov-jdk15-143.jarMETA-INF/MANIFEST.MF META-INF/BCKEY.SF META-INF/BCKEY ...
/external/robolectric/v3/runtime/
Dandroid-all-4.1.2_r1-robolectric-0.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/accessibilityservice/ android/ ...
Dandroid-all-4.2.2_r1.2-robolectric-0.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/accessibilityservice/ android/ ...
Dandroid-all-4.3_r2-robolectric-0.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/accessibilityservice/ android/ ...
Dandroid-all-5.1.1_r9-robolectric-1.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
Dandroid-all-5.0.0_r2-robolectric-1.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
Dandroid-all-4.4_r1-robolectric-1.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...