Home
last modified time | relevance | path

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

12

/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/symmetric/
DAES.java684 provider.addAlgorithm("AlgorithmParameters.AES", PREFIX + "$AlgParams"); in configure()
685 provider.addAlgorithm("Alg.Alias.AlgorithmParameters." + wrongAES128, "AES"); in configure()
686 provider.addAlgorithm("Alg.Alias.AlgorithmParameters." + wrongAES192, "AES"); in configure()
687 provider.addAlgorithm("Alg.Alias.AlgorithmParameters." + wrongAES256, "AES"); in configure()
688 …provider.addAlgorithm("Alg.Alias.AlgorithmParameters." + NISTObjectIdentifiers.id_aes128_CBC, "AES… in configure()
689 …provider.addAlgorithm("Alg.Alias.AlgorithmParameters." + NISTObjectIdentifiers.id_aes192_CBC, "AES… in configure()
690 …provider.addAlgorithm("Alg.Alias.AlgorithmParameters." + NISTObjectIdentifiers.id_aes256_CBC, "AES… in configure()
692 provider.addAlgorithm("AlgorithmParameters.GCM", PREFIX + "$AlgParamsGCM"); in configure()
693 …provider.addAlgorithm("Alg.Alias.AlgorithmParameters." + NISTObjectIdentifiers.id_aes128_GCM, "GCM… in configure()
694 …provider.addAlgorithm("Alg.Alias.AlgorithmParameters." + NISTObjectIdentifiers.id_aes192_GCM, "GCM… in configure()
[all …]
DRC2.java492 … provider.addAlgorithm("Alg.Alias.SecretKeyFactory.PBEWITHMD5ANDRC2-CBC", "PBEWITHMD5ANDRC2"); in configure()
494 … provider.addAlgorithm("Alg.Alias.SecretKeyFactory.PBEWITHSHA1ANDRC2-CBC", "PBEWITHSHA1ANDRC2"); in configure()
500 …provider.addAlgorithm("Alg.Alias.SecretKeyFactory." + PKCSObjectIdentifiers.pbeWithMD5AndRC2_CBC, … in configure()
502 …provider.addAlgorithm("Alg.Alias.SecretKeyFactory." + PKCSObjectIdentifiers.pbeWithSHA1AndRC2_CBC,… in configure()
503 …provider.addAlgorithm("Alg.Alias.SecretKeyFactory.1.2.840.113549.1.12.1.5", "PBEWITHSHAAND128BITRC… in configure()
504 …provider.addAlgorithm("Alg.Alias.SecretKeyFactory.1.2.840.113549.1.12.1.6", "PBEWITHSHAAND40BITRC2… in configure()
509 … provider.addAlgorithm("SecretKeyFactory.PBEWITHMD5ANDRC2", PREFIX + "$PBEWithMD5KeyFactory"); in configure()
510 … provider.addAlgorithm("SecretKeyFactory.PBEWITHSHA1ANDRC2", PREFIX + "$PBEWithSHA1KeyFactory"); in configure()
512 …provider.addAlgorithm("SecretKeyFactory.PBEWITHSHAAND128BITRC2-CBC", PREFIX + "$PBEWithSHAAnd128Bi… in configure()
513 …provider.addAlgorithm("SecretKeyFactory.PBEWITHSHAAND40BITRC2-CBC", PREFIX + "$PBEWithSHAAnd40BitK… in configure()
[all …]
DDESede.java382 provider.addAlgorithm("Cipher.DESEDE", PREFIX + "$ECB"); in configure()
386 provider.addAlgorithm("Cipher.DESEDEWRAP", PREFIX + "$Wrap"); in configure()
388 …provider.addAlgorithm("Alg.Alias.Cipher." + PKCSObjectIdentifiers.id_alg_CMS3DESwrap, "DESEDEWRAP"… in configure()
394 provider.addAlgorithm("Alg.Alias.Cipher.TDEA", "DESEDE"); in configure()
395 provider.addAlgorithm("Alg.Alias.Cipher.TDEAWRAP", "DESEDEWRAP"); in configure()
396 provider.addAlgorithm("Alg.Alias.KeyGenerator.TDEA", "DESEDE"); in configure()
397 provider.addAlgorithm("Alg.Alias.AlgorithmParameters.TDEA", "DESEDE"); in configure()
401 provider.addAlgorithm("Alg.Alias.SecretKeyFactory.TDEA", "DESEDE"); in configure()
405 … provider.addAlgorithm("Cipher.PBEWITHSHAAND3-KEYTRIPLEDES-CBC", PREFIX + "$PBEWithSHAAndDES3Key"); in configure()
410 … provider.addAlgorithm("Cipher.PBEWITHSHAAND2-KEYTRIPLEDES-CBC", PREFIX + "$PBEWithSHAAndDES2Key"); in configure()
[all …]
DARC4.java98 provider.addAlgorithm("Cipher.ARC4", PREFIX + "$Base"); in configure()
99 provider.addAlgorithm("Alg.Alias.Cipher." + PKCSObjectIdentifiers.rc4, "ARC4"); in configure()
100 provider.addAlgorithm("Alg.Alias.Cipher.ARCFOUR", "ARC4"); in configure()
101 provider.addAlgorithm("Alg.Alias.Cipher.RC4", "ARC4"); in configure()
102 provider.addAlgorithm("KeyGenerator.ARC4", PREFIX + "$KeyGen"); in configure()
103 provider.addAlgorithm("Alg.Alias.KeyGenerator.RC4", "ARC4"); in configure()
104 provider.addAlgorithm("Alg.Alias.KeyGenerator.1.2.840.113549.3.4", "ARC4"); in configure()
105 …provider.addAlgorithm("SecretKeyFactory.PBEWITHSHAAND128BITRC4", PREFIX + "$PBEWithSHAAnd128BitKey… in configure()
106 …provider.addAlgorithm("SecretKeyFactory.PBEWITHSHAAND40BITRC4", PREFIX + "$PBEWithSHAAnd40BitKeyFa… in configure()
108 …provider.addAlgorithm("Alg.Alias.AlgorithmParameters." + PKCSObjectIdentifiers.pbeWithSHAAnd128Bit… in configure()
[all …]
DDES.java450 provider.addAlgorithm("Cipher.DES", PREFIX + "$ECB"); in configure()
459 provider.addAlgorithm("KeyGenerator.DES", PREFIX + "$KeyGenerator"); in configure()
461 provider.addAlgorithm("SecretKeyFactory.DES", PREFIX + "$KeyFactory"); in configure()
488 … provider.addAlgorithm("AlgorithmParameters.DES", PACKAGE + ".util.IvAlgorithmParameters"); in configure()
489 … provider.addAlgorithm("Alg.Alias.AlgorithmParameters." + OIWObjectIdentifiers.desCBC, "DES"); in configure()
497 provider.addAlgorithm("Cipher.PBEWITHMD5ANDDES", PREFIX + "$PBEWithMD5"); in configure()
498 provider.addAlgorithm("Cipher.PBEWITHSHA1ANDDES", PREFIX + "$PBEWithSHA1"); in configure()
503 …provider.addAlgorithm("Alg.Alias.Cipher." + PKCSObjectIdentifiers.pbeWithMD5AndDES_CBC, "PBEWITHMD… in configure()
504 …provider.addAlgorithm("Alg.Alias.Cipher." + PKCSObjectIdentifiers.pbeWithSHA1AndDES_CBC, "PBEWITHS… in configure()
509 … provider.addAlgorithm("SecretKeyFactory.PBEWITHMD5ANDDES", PREFIX + "$PBEWithMD5KeyFactory"); in configure()
[all …]
DBlowfish.java66 provider.addAlgorithm("Cipher.BLOWFISH", PREFIX + "$ECB"); in configure()
70 provider.addAlgorithm("KeyGenerator.BLOWFISH", PREFIX + "$KeyGen"); in configure()
71 provider.addAlgorithm("Alg.Alias.KeyGenerator.1.3.6.1.4.1.3029.1.2", "BLOWFISH"); in configure()
72 provider.addAlgorithm("AlgorithmParameters.BLOWFISH", PREFIX + "$AlgParams"); in configure()
73 provider.addAlgorithm("Alg.Alias.AlgorithmParameters.1.3.6.1.4.1.3029.1.2", "BLOWFISH"); in configure()
DTwofish.java137 … provider.addAlgorithm("Alg.Alias.AlgorithmParameters.PBEWITHSHAANDTWOFISH", "PKCS12PBE"); in configure()
138 … provider.addAlgorithm("Alg.Alias.AlgorithmParameters.PBEWITHSHAANDTWOFISH-CBC", "PKCS12PBE"); in configure()
139 provider.addAlgorithm("Cipher.PBEWITHSHAANDTWOFISH-CBC", PREFIX + "$PBEWithSHA"); in configure()
140 …provider.addAlgorithm("SecretKeyFactory.PBEWITHSHAANDTWOFISH-CBC", PREFIX + "$PBEWithSHAKeyFactory… in configure()
DPBEPKCS12.java117 provider.addAlgorithm("AlgorithmParameters.PKCS12PBE", PREFIX + "$AlgParams"); in configure()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/
DDSA.java23 provider.addAlgorithm("AlgorithmParameters.DSA", PREFIX + "AlgorithmParametersSpi"); in configure()
25 …provider.addAlgorithm("AlgorithmParameterGenerator.DSA", PREFIX + "AlgorithmParameterGeneratorSpi"… in configure()
27 provider.addAlgorithm("KeyPairGenerator.DSA", PREFIX + "KeyPairGeneratorSpi"); in configure()
28 provider.addAlgorithm("KeyFactory.DSA", PREFIX + "KeyFactorySpi"); in configure()
31 provider.addAlgorithm("Signature.SHA1withDSA", PREFIX + "DSASigner$stdDSA"); in configure()
33 provider.addAlgorithm("Signature.NONEWITHDSA", PREFIX + "DSASigner$noneDSA"); in configure()
35 provider.addAlgorithm("Alg.Alias.Signature.RAWDSA", "NONEWITHDSA"); in configure()
54 provider.addAlgorithm("Alg.Alias.Signature.DSA", "SHA1withDSA"); in configure()
57 provider.addAlgorithm("Alg.Alias.Signature.SHA/DSA", "SHA1withDSA"); in configure()
58 provider.addAlgorithm("Alg.Alias.Signature.SHA1withDSA", "SHA1withDSA"); in configure()
[all …]
DRSA.java28 … provider.addAlgorithm("AlgorithmParameters.OAEP", PREFIX + "AlgorithmParametersSpi$OAEP"); in configure()
50 provider.addAlgorithm("Cipher.RSA", PREFIX + "CipherSpi$NoPadding"); in configure()
52 provider.addAlgorithm("Alg.Alias.Cipher.RSA/RAW", "RSA"); in configure()
65 provider.addAlgorithm("Alg.Alias.Cipher.RSA//RAW", "RSA"); in configure()
66 provider.addAlgorithm("Alg.Alias.Cipher.RSA//NOPADDING", "RSA"); in configure()
73 provider.addAlgorithm("KeyFactory.RSA", PREFIX + "KeyFactorySpi"); in configure()
74 provider.addAlgorithm("KeyPairGenerator.RSA", PREFIX + "KeyPairGeneratorSpi"); in configure()
156 … provider.addAlgorithm("Alg.Alias.Signature." + OIWObjectIdentifiers.sha1WithRSA, "SHA1WITHRSA"); in configure()
157 …provider.addAlgorithm("Alg.Alias.Signature.OID." + OIWObjectIdentifiers.sha1WithRSA, "SHA1WITHRSA"… in configure()
235 provider.addAlgorithm("Signature." + mainName, className); in addDigestSignature()
[all …]
DEC.java26 provider.addAlgorithm("KeyAgreement.ECDH", PREFIX + "KeyAgreementSpi$DH"); in configure()
53 provider.addAlgorithm("KeyFactory.EC", PREFIX + "KeyFactorySpi$EC"); in configure()
61 provider.addAlgorithm("KeyPairGenerator.EC", PREFIX + "KeyPairGeneratorSpi$EC"); in configure()
81 provider.addAlgorithm("Signature.ECDSA", PREFIX + "SignatureSpi$ecDSA"); in configure()
82 provider.addAlgorithm("Signature.NONEwithECDSA", PREFIX + "SignatureSpi$ecDSAnone"); in configure()
84 provider.addAlgorithm("Alg.Alias.Signature.SHA1withECDSA", "ECDSA"); in configure()
85 provider.addAlgorithm("Alg.Alias.Signature.ECDSAwithSHA1", "ECDSA"); in configure()
86 provider.addAlgorithm("Alg.Alias.Signature.SHA1WITHECDSA", "ECDSA"); in configure()
87 provider.addAlgorithm("Alg.Alias.Signature.ECDSAWITHSHA1", "ECDSA"); in configure()
88 provider.addAlgorithm("Alg.Alias.Signature.SHA1WithECDSA", "ECDSA"); in configure()
[all …]
DDH.java22 provider.addAlgorithm("KeyPairGenerator.DH", PREFIX + "KeyPairGeneratorSpi"); in configure()
23 provider.addAlgorithm("Alg.Alias.KeyPairGenerator.DIFFIEHELLMAN", "DH"); in configure()
25 provider.addAlgorithm("KeyAgreement.DH", PREFIX + "KeyAgreementSpi"); in configure()
26 provider.addAlgorithm("Alg.Alias.KeyAgreement.DIFFIEHELLMAN", "DH"); in configure()
28 provider.addAlgorithm("KeyFactory.DH", PREFIX + "KeyFactorySpi"); in configure()
29 provider.addAlgorithm("Alg.Alias.KeyFactory.DIFFIEHELLMAN", "DH"); in configure()
31 provider.addAlgorithm("AlgorithmParameters.DH", PREFIX + "AlgorithmParametersSpi"); in configure()
32 provider.addAlgorithm("Alg.Alias.AlgorithmParameters.DIFFIEHELLMAN", "DH"); in configure()
34 provider.addAlgorithm("Alg.Alias.AlgorithmParameterGenerator.DIFFIEHELLMAN", "DH"); in configure()
36 …provider.addAlgorithm("AlgorithmParameterGenerator.DH", PREFIX + "AlgorithmParameterGeneratorSpi"); in configure()
DX509.java29 …provider.addAlgorithm("CertificateFactory.X.509", "org.bouncycastle.jcajce.provider.asymmetric.x50… in configure()
30 provider.addAlgorithm("Alg.Alias.CertificateFactory.X509", "X.509"); in configure()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/util/
DAsymmetricAlgorithmProvider.java21 provider.addAlgorithm("Signature." + mainName, className); in addSignatureAlgorithm()
22 provider.addAlgorithm("Alg.Alias.Signature." + jdk11Variation1, mainName); in addSignatureAlgorithm()
23 provider.addAlgorithm("Alg.Alias.Signature." + jdk11Variation2, mainName); in addSignatureAlgorithm()
24 provider.addAlgorithm("Alg.Alias.Signature." + alias, mainName); in addSignatureAlgorithm()
25 provider.addAlgorithm("Alg.Alias.Signature." + oid, mainName); in addSignatureAlgorithm()
26 provider.addAlgorithm("Alg.Alias.Signature.OID." + oid, mainName); in addSignatureAlgorithm()
31 provider.addAlgorithm("Alg.Alias.KeyFactory." + oid, name); in registerOid()
32 provider.addAlgorithm("Alg.Alias.KeyPairGenerator." + oid, name); in registerOid()
39 provider.addAlgorithm("Alg.Alias.AlgorithmParameterGenerator." + oid, name); in registerOidAlgorithmParameters()
40 provider.addAlgorithm("Alg.Alias.AlgorithmParameters." + oid, name); in registerOidAlgorithmParameters()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/digest/
DSHA1.java179 provider.addAlgorithm("MessageDigest.SHA-1", PREFIX + "$Digest"); in configure()
180 provider.addAlgorithm("Alg.Alias.MessageDigest.SHA1", "SHA-1"); in configure()
181 provider.addAlgorithm("Alg.Alias.MessageDigest.SHA", "SHA-1"); in configure()
182 … provider.addAlgorithm("Alg.Alias.MessageDigest." + OIWObjectIdentifiers.idSHA1, "SHA-1"); in configure()
188 provider.addAlgorithm("Mac.PBEWITHHMACSHA", PREFIX + "$SHA1Mac"); in configure()
189 provider.addAlgorithm("Mac.PBEWITHHMACSHA1", PREFIX + "$SHA1Mac"); in configure()
190 provider.addAlgorithm("Alg.Alias.SecretKeyFactory.PBEWITHHMACSHA", "PBEWITHHMACSHA1"); in configure()
191 …provider.addAlgorithm("Alg.Alias.SecretKeyFactory." + OIWObjectIdentifiers.idSHA1, "PBEWITHHMACSHA… in configure()
192 provider.addAlgorithm("Alg.Alias.Mac." + OIWObjectIdentifiers.idSHA1, "PBEWITHHMACSHA"); in configure()
194 … provider.addAlgorithm("SecretKeyFactory.PBEWITHHMACSHA1", PREFIX + "$PBEWithMacKeyFactory"); in configure()
[all …]
DDigestAlgorithmProvider.java18 provider.addAlgorithm("Mac." + mainName, algorithmClassName); in addHMACAlgorithm()
19 provider.addAlgorithm("Alg.Alias.Mac.HMAC-" + algorithm, mainName); in addHMACAlgorithm()
20 provider.addAlgorithm("Alg.Alias.Mac.HMAC/" + algorithm, mainName); in addHMACAlgorithm()
21 provider.addAlgorithm("KeyGenerator." + mainName, keyGeneratorClassName); in addHMACAlgorithm()
22 provider.addAlgorithm("Alg.Alias.KeyGenerator.HMAC-" + algorithm, mainName); in addHMACAlgorithm()
23 provider.addAlgorithm("Alg.Alias.KeyGenerator.HMAC/" + algorithm, mainName); in addHMACAlgorithm()
33 provider.addAlgorithm("Alg.Alias.Mac." + oid, mainName); in addHMACAlias()
34 provider.addAlgorithm("Alg.Alias.KeyGenerator." + oid, mainName); in addHMACAlias()
DSHA384.java84 provider.addAlgorithm("MessageDigest.SHA-384", PREFIX + "$Digest"); in configure()
85 provider.addAlgorithm("Alg.Alias.MessageDigest.SHA384", "SHA-384"); in configure()
86 … provider.addAlgorithm("Alg.Alias.MessageDigest." + NISTObjectIdentifiers.id_sha384, "SHA-384"); in configure()
DSHA224.java67 provider.addAlgorithm("MessageDigest.SHA-224", PREFIX + "$Digest"); in configure()
68 provider.addAlgorithm("Alg.Alias.MessageDigest.SHA224", "SHA-224"); in configure()
69 … provider.addAlgorithm("Alg.Alias.MessageDigest." + NISTObjectIdentifiers.id_sha224, "SHA-224"); in configure()
DSHA512.java167 provider.addAlgorithm("MessageDigest.SHA-512", PREFIX + "$Digest"); in configure()
168 provider.addAlgorithm("Alg.Alias.MessageDigest.SHA512", "SHA-512"); in configure()
169 … provider.addAlgorithm("Alg.Alias.MessageDigest." + NISTObjectIdentifiers.id_sha512, "SHA-512"); in configure()
DSHA256.java85 provider.addAlgorithm("MessageDigest.SHA-256", PREFIX + "$Digest"); in configure()
86 provider.addAlgorithm("Alg.Alias.MessageDigest.SHA256", "SHA-256"); in configure()
87 … provider.addAlgorithm("Alg.Alias.MessageDigest." + NISTObjectIdentifiers.id_sha256, "SHA-256"); in configure()
DMD5.java70 provider.addAlgorithm("MessageDigest.MD5", PREFIX + "$Digest"); in configure()
71 provider.addAlgorithm("Alg.Alias.MessageDigest." + PKCSObjectIdentifiers.md5, "MD5"); in configure()
/external/bouncycastle/patches/
Dbcprov.patch1169 …provider.addAlgorithm("AlgorithmParameterGenerator.DH", PREFIX + "AlgorithmParameterGeneratorSpi");
1171 - provider.addAlgorithm("Cipher.DHIES", PREFIX + "IESCipher$IES");
1172 - provider.addAlgorithm("Cipher.DHIESwithAES", PREFIX + "IESCipher$IESwithAES");
1173 - provider.addAlgorithm("Cipher.DHIESWITHAES", PREFIX + "IESCipher$IESwithAES");
1174 - provider.addAlgorithm("Cipher.DHIESWITHDESEDE", PREFIX + "IESCipher$IESwithDESede");
1176 + // provider.addAlgorithm("Cipher.DHIES", PREFIX + "IESCipher$IES");
1177 + // provider.addAlgorithm("Cipher.DHIESwithAES", PREFIX + "IESCipher$IESwithAES");
1178 + // provider.addAlgorithm("Cipher.DHIESWITHAES", PREFIX + "IESCipher$IESwithAES");
1179 + // provider.addAlgorithm("Cipher.DHIESWITHDESEDE", PREFIX + "IESCipher$IESwithDESede");
1188 provider.addAlgorithm("KeyPairGenerator.DSA", PREFIX + "KeyPairGeneratorSpi");
[all …]
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/keystore/
DBC.java19 provider.addAlgorithm("KeyStore.BKS", PREFIX + "BcKeyStoreSpi$Std"); in configure()
23 … provider.addAlgorithm("KeyStore.BouncyCastle", PREFIX + "BcKeyStoreSpi$BouncyCastleStore"); in configure()
24 provider.addAlgorithm("Alg.Alias.KeyStore.UBER", "BouncyCastle"); in configure()
25 provider.addAlgorithm("Alg.Alias.KeyStore.BOUNCYCASTLE", "BouncyCastle"); in configure()
26 provider.addAlgorithm("Alg.Alias.KeyStore.bouncycastle", "BouncyCastle"); in configure()
DPKCS12.java19 provider.addAlgorithm("KeyStore.PKCS12", PREFIX + "PKCS12KeyStoreSpi$BCPKCS12KeyStore"); in configure()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/config/
DConfigurableProvider.java34 void addAlgorithm(String key, String value); in addAlgorithm() method

12