Home
last modified time | relevance | path

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

123

/external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/operator/
DDefaultSignatureAlgorithmIdentifierFinder.java20 import org.bouncycastle.asn1.pkcs.PKCSObjectIdentifiers;
36 private static final ASN1ObjectIdentifier ENCRYPTION_RSA = PKCSObjectIdentifiers.rsaEncryption;
39 …private static final ASN1ObjectIdentifier ENCRYPTION_RSA_PSS = PKCSObjectIdentifiers.id_RSASSA_PSS;
51 algorithms.put("MD5WITHRSAENCRYPTION", PKCSObjectIdentifiers.md5WithRSAEncryption);
52 algorithms.put("MD5WITHRSA", PKCSObjectIdentifiers.md5WithRSAEncryption);
53 algorithms.put("SHA1WITHRSAENCRYPTION", PKCSObjectIdentifiers.sha1WithRSAEncryption);
54 algorithms.put("SHA1WITHRSA", PKCSObjectIdentifiers.sha1WithRSAEncryption);
55 algorithms.put("SHA224WITHRSAENCRYPTION", PKCSObjectIdentifiers.sha224WithRSAEncryption);
56 algorithms.put("SHA224WITHRSA", PKCSObjectIdentifiers.sha224WithRSAEncryption);
57 algorithms.put("SHA256WITHRSAENCRYPTION", PKCSObjectIdentifiers.sha256WithRSAEncryption);
[all …]
DDefaultDigestAlgorithmIdentifierFinder.java14 import org.bouncycastle.asn1.pkcs.PKCSObjectIdentifiers;
37 … digestOids.put(PKCSObjectIdentifiers.sha224WithRSAEncryption, NISTObjectIdentifiers.id_sha224); in digestOids.put()
38 … digestOids.put(PKCSObjectIdentifiers.sha256WithRSAEncryption, NISTObjectIdentifiers.id_sha256); in digestOids.put()
39 … digestOids.put(PKCSObjectIdentifiers.sha384WithRSAEncryption, NISTObjectIdentifiers.id_sha384); in digestOids.put()
40 … digestOids.put(PKCSObjectIdentifiers.sha512WithRSAEncryption, NISTObjectIdentifiers.id_sha512); in digestOids.put()
45 digestOids.put(PKCSObjectIdentifiers.md5WithRSAEncryption, PKCSObjectIdentifiers.md5); in digestOids.put()
46 digestOids.put(PKCSObjectIdentifiers.sha1WithRSAEncryption, OIWObjectIdentifiers.idSHA1); in digestOids.put()
128 digestNameToOids.put("MD5", PKCSObjectIdentifiers.md5);
141 if (sigAlgId.getAlgorithm().equals(PKCSObjectIdentifiers.id_RSASSA_PSS)) in find()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/cms/
DCMSObjectIdentifiers.java4 import org.bouncycastle.asn1.pkcs.PKCSObjectIdentifiers;
9 static final ASN1ObjectIdentifier data = PKCSObjectIdentifiers.data;
11 static final ASN1ObjectIdentifier signedData = PKCSObjectIdentifiers.signedData;
13 static final ASN1ObjectIdentifier envelopedData = PKCSObjectIdentifiers.envelopedData;
15 …static final ASN1ObjectIdentifier signedAndEnvelopedData = PKCSObjectIdentifiers.signedAndEnvel…
17 static final ASN1ObjectIdentifier digestedData = PKCSObjectIdentifiers.digestedData;
19 static final ASN1ObjectIdentifier encryptedData = PKCSObjectIdentifiers.encryptedData;
21 static final ASN1ObjectIdentifier authenticatedData = PKCSObjectIdentifiers.id_ct_authData;
23 … static final ASN1ObjectIdentifier compressedData = PKCSObjectIdentifiers.id_ct_compressedData;
25 …static final ASN1ObjectIdentifier authEnvelopedData = PKCSObjectIdentifiers.id_ct_authEnveloped…
[all …]
DCMSAttributes.java4 import org.bouncycastle.asn1.pkcs.PKCSObjectIdentifiers;
23 …public static final ASN1ObjectIdentifier contentType = PKCSObjectIdentifiers.pkcs_9_at_contentTyp…
25 …public static final ASN1ObjectIdentifier messageDigest = PKCSObjectIdentifiers.pkcs_9_at_messageD…
27 …public static final ASN1ObjectIdentifier signingTime = PKCSObjectIdentifiers.pkcs_9_at_signingTim…
29 …public static final ASN1ObjectIdentifier counterSignature = PKCSObjectIdentifiers.pkcs_9_at_count…
31 public static final ASN1ObjectIdentifier contentHint = PKCSObjectIdentifiers.id_aa_contentHint;
33 …public static final ASN1ObjectIdentifier cmsAlgorithmProtect = PKCSObjectIdentifiers.id_aa_cmsAlg…
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/symmetric/
DARC4.java3 import org.bouncycastle.asn1.pkcs.PKCSObjectIdentifiers;
46 …super("PBEWithSHAAnd128BitRC4", PKCSObjectIdentifiers.pbeWithSHAAnd128BitRC4, true, PKCS12, SHA1, … in PBEWithSHAAnd128BitKeyFactory()
58 …super("PBEWithSHAAnd128BitRC4", PKCSObjectIdentifiers.pbeWithSHAAnd128BitRC4, true, PKCS12, SHA1, … in PBEWithSHAAnd40BitKeyFactory()
99 provider.addAlgorithm("Alg.Alias.Cipher", PKCSObjectIdentifiers.rc4, "ARC4"); in configure()
108 …provider.addAlgorithm("Alg.Alias.AlgorithmParameters." + PKCSObjectIdentifiers.pbeWithSHAAnd128Bit… in configure()
109 …provider.addAlgorithm("Alg.Alias.AlgorithmParameters." + PKCSObjectIdentifiers.pbeWithSHAAnd40BitR… in configure()
116 …provider.addAlgorithm("Alg.Alias.SecretKeyFactory", PKCSObjectIdentifiers.pbeWithSHAAnd128BitRC4, … in configure()
117 …provider.addAlgorithm("Alg.Alias.SecretKeyFactory", PKCSObjectIdentifiers.pbeWithSHAAnd40BitRC4, "… in configure()
122 …provider.addAlgorithm("Alg.Alias.Cipher", PKCSObjectIdentifiers.pbeWithSHAAnd128BitRC4, "PBEWITHSH… in configure()
123 …provider.addAlgorithm("Alg.Alias.Cipher", PKCSObjectIdentifiers.pbeWithSHAAnd40BitRC4, "PBEWITHSHA… in configure()
DRC2.java14 import org.bouncycastle.asn1.pkcs.PKCSObjectIdentifiers;
109 …super("PBEwithSHA1andRC2", PKCSObjectIdentifiers.pbeWithSHA1AndRC2_CBC, true, PKCS5S1, SHA1, 64, 6… in PBEWithSHA1KeyFactory()
121 …super("PBEwithSHAand128BitRC2-CBC", PKCSObjectIdentifiers.pbeWithSHAAnd128BitRC2_CBC, true, PKCS12… in PBEWithSHAAnd128BitKeyFactory()
133 …super("PBEwithSHAand40BitRC2-CBC", PKCSObjectIdentifiers.pbeWithSHAAnd40BitRC2_CBC, true, PKCS12, … in PBEWithSHAAnd40BitKeyFactory()
209 … super("PBEwithMD5andRC2", PKCSObjectIdentifiers.pbeWithMD5AndRC2_CBC, true, PKCS5S1, MD5, 64, 64); in PBEWithMD5KeyFactory()
505 …provider.addAlgorithm("Alg.Alias.SecretKeyFactory", PKCSObjectIdentifiers.pbeWithMD5AndRC2_CBC, "P… in configure()
507 …provider.addAlgorithm("Alg.Alias.SecretKeyFactory", PKCSObjectIdentifiers.pbeWithSHA1AndRC2_CBC, "… in configure()
522 …provider.addAlgorithm("Alg.Alias.Cipher", PKCSObjectIdentifiers.pbeWithMD5AndRC2_CBC, "PBEWITHMD5A… in configure()
524 …provider.addAlgorithm("Alg.Alias.Cipher", PKCSObjectIdentifiers.pbeWithSHA1AndRC2_CBC, "PBEWITHSHA… in configure()
530 …provider.addAlgorithm("Alg.Alias.Cipher", PKCSObjectIdentifiers.pbeWithSHAAnd128BitRC2_CBC, "PBEWI… in configure()
[all …]
DPBES2AlgorithmParameters.java19 import org.bouncycastle.asn1.pkcs.PKCSObjectIdentifiers;
71 PKCSObjectIdentifiers.id_PBES2, in engineGetEncoded()
135 PKCSObjectIdentifiers.id_PBKDF2, in engineInit()
149 if (!id.getId().equals(PKCSObjectIdentifiers.id_PBES2.getId())) { in engineInit()
178 super(PKCSObjectIdentifiers.id_hmacWithSHA1, in PBEWithHmacSHA1AES128AlgorithmParameters()
189 super(PKCSObjectIdentifiers.id_hmacWithSHA224, in PBEWithHmacSHA224AES128AlgorithmParameters()
200 super(PKCSObjectIdentifiers.id_hmacWithSHA256, in PBEWithHmacSHA256AES128AlgorithmParameters()
211 super(PKCSObjectIdentifiers.id_hmacWithSHA384, in PBEWithHmacSHA384AES128AlgorithmParameters()
222 super(PKCSObjectIdentifiers.id_hmacWithSHA512, in PBEWithHmacSHA512AES128AlgorithmParameters()
233 super(PKCSObjectIdentifiers.id_hmacWithSHA1, in PBEWithHmacSHA1AES256AlgorithmParameters()
[all …]
DDESede.java19 import org.bouncycastle.asn1.pkcs.PKCSObjectIdentifiers;
246 …super("PBEwithSHAandDES3Key-CBC", PKCSObjectIdentifiers.pbeWithSHAAnd3_KeyTripleDES_CBC, true, PKC… in PBEWithSHAAndDES3KeyFactory()
258 …super("PBEwithSHAandDES2Key-CBC", PKCSObjectIdentifiers.pbeWithSHAAnd2_KeyTripleDES_CBC, true, PKC… in PBEWithSHAAndDES2KeyFactory()
390 …provider.addAlgorithm("Alg.Alias.Cipher." + PKCSObjectIdentifiers.id_alg_CMS3DESwrap, "DESEDEWRAP"… in configure()
415 …provider.addAlgorithm("Alg.Alias.Cipher", PKCSObjectIdentifiers.pbeWithSHAAnd3_KeyTripleDES_CBC, "… in configure()
416 …provider.addAlgorithm("Alg.Alias.Cipher", PKCSObjectIdentifiers.pbeWithSHAAnd2_KeyTripleDES_CBC, "… in configure()
457 …provider.addAlgorithm("Alg.Alias.AlgorithmParameters." + PKCSObjectIdentifiers.des_EDE3_CBC, "DESE… in configure()
DPBEPBKDF2.java19 import org.bouncycastle.asn1.pkcs.PKCSObjectIdentifiers;
144 super(name, PKCSObjectIdentifiers.id_PBKDF2); in BasePBKDF2()
243 if (algorithm.equals(PKCSObjectIdentifiers.id_hmacWithSHA1)) in getDigestCode()
247 else if (algorithm.equals(PKCSObjectIdentifiers.id_hmacWithSHA256)) in getDigestCode()
251 else if (algorithm.equals(PKCSObjectIdentifiers.id_hmacWithSHA224)) in getDigestCode()
255 else if (algorithm.equals(PKCSObjectIdentifiers.id_hmacWithSHA384)) in getDigestCode()
259 else if (algorithm.equals(PKCSObjectIdentifiers.id_hmacWithSHA512)) in getDigestCode()
DDES.java18 import org.bouncycastle.asn1.pkcs.PKCSObjectIdentifiers;
387 … super("PBEwithMD5andDES", PKCSObjectIdentifiers.pbeWithMD5AndDES_CBC, true, PKCS5S1, MD5, 64, 64); in PBEWithMD5KeyFactory()
399 …super("PBEwithSHA1andDES", PKCSObjectIdentifiers.pbeWithSHA1AndDES_CBC, true, PKCS5S1, SHA1, 64, 6… in PBEWithSHA1KeyFactory()
512 …provider.addAlgorithm("Alg.Alias.Cipher", PKCSObjectIdentifiers.pbeWithMD5AndDES_CBC, "PBEWITHMD5A… in configure()
513 …provider.addAlgorithm("Alg.Alias.Cipher", PKCSObjectIdentifiers.pbeWithSHA1AndDES_CBC, "PBEWITHSHA… in configure()
531 …provider.addAlgorithm("Alg.Alias.SecretKeyFactory." + PKCSObjectIdentifiers.pbeWithMD5AndDES_CBC, … in configure()
532 …provider.addAlgorithm("Alg.Alias.SecretKeyFactory." + PKCSObjectIdentifiers.pbeWithSHA1AndDES_CBC,… in configure()
/external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/cms/
DDefaultCMSSignatureEncryptionAlgorithmFinder.java8 import org.bouncycastle.asn1.pkcs.PKCSObjectIdentifiers;
23 RSA_PKCS1d5.add(PKCSObjectIdentifiers.md5WithRSAEncryption);
24 RSA_PKCS1d5.add(PKCSObjectIdentifiers.sha1WithRSAEncryption);
26 RSA_PKCS1d5.add(PKCSObjectIdentifiers.sha224WithRSAEncryption);
27 RSA_PKCS1d5.add(PKCSObjectIdentifiers.sha256WithRSAEncryption);
28 RSA_PKCS1d5.add(PKCSObjectIdentifiers.sha384WithRSAEncryption);
29 RSA_PKCS1d5.add(PKCSObjectIdentifiers.sha512WithRSAEncryption);
49 return new AlgorithmIdentifier(PKCSObjectIdentifiers.rsaEncryption, DERNull.INSTANCE); in findEncryptionAlgorithm()
DDefaultCMSSignatureAlgorithmNameGenerator.java13 import org.bouncycastle.asn1.pkcs.PKCSObjectIdentifiers;
48 addEntries(PKCSObjectIdentifiers.md5WithRSAEncryption, "MD5", "RSA"); in DefaultCMSSignatureAlgorithmNameGenerator()
49 addEntries(PKCSObjectIdentifiers.sha1WithRSAEncryption, "SHA1", "RSA"); in DefaultCMSSignatureAlgorithmNameGenerator()
50 addEntries(PKCSObjectIdentifiers.sha224WithRSAEncryption, "SHA224", "RSA"); in DefaultCMSSignatureAlgorithmNameGenerator()
51 addEntries(PKCSObjectIdentifiers.sha256WithRSAEncryption, "SHA256", "RSA"); in DefaultCMSSignatureAlgorithmNameGenerator()
52 addEntries(PKCSObjectIdentifiers.sha384WithRSAEncryption, "SHA384", "RSA"); in DefaultCMSSignatureAlgorithmNameGenerator()
53 addEntries(PKCSObjectIdentifiers.sha512WithRSAEncryption, "SHA512", "RSA"); in DefaultCMSSignatureAlgorithmNameGenerator()
84 encryptionAlgs.put(PKCSObjectIdentifiers.rsaEncryption, "RSA"); in DefaultCMSSignatureAlgorithmNameGenerator()
87 encryptionAlgs.put(PKCSObjectIdentifiers.id_RSASSA_PSS, "RSAandMGF1"); in DefaultCMSSignatureAlgorithmNameGenerator()
99 digestAlgs.put(PKCSObjectIdentifiers.md5, "MD5"); in DefaultCMSSignatureAlgorithmNameGenerator()
DPasswordRecipient.java4 import org.bouncycastle.asn1.pkcs.PKCSObjectIdentifiers;
15 … final PRF HMacSHA1 = new PRF("HMacSHA1", new AlgorithmIdentifier(PKCSObjectIdentifiers.id_hmacWit…
16 …al PRF HMacSHA224 = new PRF("HMacSHA224", new AlgorithmIdentifier(PKCSObjectIdentifiers.id_hmacWit…
17 …al PRF HMacSHA256 = new PRF("HMacSHA256", new AlgorithmIdentifier(PKCSObjectIdentifiers.id_hmacWit…
18 …al PRF HMacSHA384 = new PRF("HMacSHA384", new AlgorithmIdentifier(PKCSObjectIdentifiers.id_hmacWit…
19 …al PRF HMacSHA512 = new PRF("HMacSHA512", new AlgorithmIdentifier(PKCSObjectIdentifiers.id_hmacWit…
DCMSSignedHelper.java22 import org.bouncycastle.asn1.pkcs.PKCSObjectIdentifiers;
67 addEntries(PKCSObjectIdentifiers.md5WithRSAEncryption, "MD5", "RSA"); in addEntries()
68 addEntries(PKCSObjectIdentifiers.sha1WithRSAEncryption, "SHA1", "RSA"); in addEntries()
69 addEntries(PKCSObjectIdentifiers.sha224WithRSAEncryption, "SHA224", "RSA"); in addEntries()
70 addEntries(PKCSObjectIdentifiers.sha256WithRSAEncryption, "SHA256", "RSA"); in addEntries()
71 addEntries(PKCSObjectIdentifiers.sha384WithRSAEncryption, "SHA384", "RSA"); in addEntries()
72 addEntries(PKCSObjectIdentifiers.sha512WithRSAEncryption, "SHA512", "RSA"); in addEntries()
90 encryptionAlgs.put(PKCSObjectIdentifiers.rsaEncryption.getId(), "RSA"); in PKCSObjectIdentifiers.rsaEncryption.getId()
107 digestAlgs.put(PKCSObjectIdentifiers.md5.getId(), "MD5"); in PKCSObjectIdentifiers.md5.getId()
DCMSSignedGenerator.java20 import org.bouncycastle.asn1.pkcs.PKCSObjectIdentifiers;
42 public static final String DIGEST_MD5 = PKCSObjectIdentifiers.md5.getId();
50 public static final String ENCRYPTION_RSA = PKCSObjectIdentifiers.rsaEncryption.getId();
53 public static final String ENCRYPTION_RSA_PSS = PKCSObjectIdentifiers.id_RSASSA_PSS.getId();
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/x509/
DX509Util.java32 import org.bouncycastle.asn1.pkcs.PKCSObjectIdentifiers;
53 algorithms.put("MD5WITHRSAENCRYPTION", PKCSObjectIdentifiers.md5WithRSAEncryption);
54 algorithms.put("MD5WITHRSA", PKCSObjectIdentifiers.md5WithRSAEncryption);
55 algorithms.put("SHA1WITHRSAENCRYPTION", PKCSObjectIdentifiers.sha1WithRSAEncryption);
56 algorithms.put("SHA1WITHRSA", PKCSObjectIdentifiers.sha1WithRSAEncryption);
57 algorithms.put("SHA224WITHRSAENCRYPTION", PKCSObjectIdentifiers.sha224WithRSAEncryption);
58 algorithms.put("SHA224WITHRSA", PKCSObjectIdentifiers.sha224WithRSAEncryption);
59 algorithms.put("SHA256WITHRSAENCRYPTION", PKCSObjectIdentifiers.sha256WithRSAEncryption);
60 algorithms.put("SHA256WITHRSA", PKCSObjectIdentifiers.sha256WithRSAEncryption);
61 algorithms.put("SHA384WITHRSAENCRYPTION", PKCSObjectIdentifiers.sha384WithRSAEncryption);
[all …]
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/util/
DBaseAgreementSpi.java22 import org.bouncycastle.asn1.pkcs.PKCSObjectIdentifiers;
80 keySizes.put(PKCSObjectIdentifiers.id_alg_CMS3DESwrap.getId(), i192); in PKCSObjectIdentifiers.id_alg_CMS3DESwrap.getId()
81 keySizes.put(PKCSObjectIdentifiers.des_EDE3_CBC.getId(), i192); in PKCSObjectIdentifiers.des_EDE3_CBC.getId()
84 keySizes.put(PKCSObjectIdentifiers.id_hmacWithSHA1.getId(), Integers.valueOf(160)); in PKCSObjectIdentifiers.id_hmacWithSHA1.getId()
85 keySizes.put(PKCSObjectIdentifiers.id_hmacWithSHA256.getId(), i256); in PKCSObjectIdentifiers.id_hmacWithSHA256.getId()
86 keySizes.put(PKCSObjectIdentifiers.id_hmacWithSHA384.getId(), Integers.valueOf(384)); in PKCSObjectIdentifiers.id_hmacWithSHA384.getId()
87 keySizes.put(PKCSObjectIdentifiers.id_hmacWithSHA512.getId(), Integers.valueOf(512)); in PKCSObjectIdentifiers.id_hmacWithSHA512.getId()
89 defaultOids.put("DESEDE", PKCSObjectIdentifiers.des_EDE3_CBC);
106 nameTable.put(PKCSObjectIdentifiers.des_EDE3_CBC.getId(), "DESede"); in PKCSObjectIdentifiers.des_EDE3_CBC.getId()
107 nameTable.put(PKCSObjectIdentifiers.id_alg_CMS3DESwrap.getId(), "DESede"); in PKCSObjectIdentifiers.id_alg_CMS3DESwrap.getId()
[all …]
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jce/
DPKCS10CertificationRequest.java39 import org.bouncycastle.asn1.pkcs.PKCSObjectIdentifiers;
95 algorithms.put("SHA224WITHRSAENCRYPTION", PKCSObjectIdentifiers.sha224WithRSAEncryption);
96 algorithms.put("SHA224WITHRSA", PKCSObjectIdentifiers.sha224WithRSAEncryption);
97 algorithms.put("SHA256WITHRSAENCRYPTION", PKCSObjectIdentifiers.sha256WithRSAEncryption);
98 algorithms.put("SHA256WITHRSA", PKCSObjectIdentifiers.sha256WithRSAEncryption);
99 algorithms.put("SHA384WITHRSAENCRYPTION", PKCSObjectIdentifiers.sha384WithRSAEncryption);
100 algorithms.put("SHA384WITHRSA", PKCSObjectIdentifiers.sha384WithRSAEncryption);
101 algorithms.put("SHA512WITHRSAENCRYPTION", PKCSObjectIdentifiers.sha512WithRSAEncryption);
102 algorithms.put("SHA512WITHRSA", PKCSObjectIdentifiers.sha512WithRSAEncryption);
103 algorithms.put("SHA1WITHRSAANDMGF1", PKCSObjectIdentifiers.id_RSASSA_PSS);
[all …]
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/
DRSA.java9 import org.bouncycastle.asn1.pkcs.PKCSObjectIdentifiers;
100 registerOid(provider, PKCSObjectIdentifiers.rsaEncryption, "RSA", keyFact); in configure()
102 registerOid(provider, PKCSObjectIdentifiers.id_RSAES_OAEP, "RSA", keyFact); in configure()
153 …gestSignature(provider, "MD5", PREFIX + "DigestSignatureSpi$MD5", PKCSObjectIdentifiers.md5WithRSA… in configure()
168 …stSignature(provider, "SHA1", PREFIX + "DigestSignatureSpi$SHA1", PKCSObjectIdentifiers.sha1WithRS… in configure()
179 …gnature(provider, "SHA224", PREFIX + "DigestSignatureSpi$SHA224", PKCSObjectIdentifiers.sha224With… in configure()
180 …gnature(provider, "SHA256", PREFIX + "DigestSignatureSpi$SHA256", PKCSObjectIdentifiers.sha256With… in configure()
181 …gnature(provider, "SHA384", PREFIX + "DigestSignatureSpi$SHA384", PKCSObjectIdentifiers.sha384With… in configure()
182 …gnature(provider, "SHA512", PREFIX + "DigestSignatureSpi$SHA512", PKCSObjectIdentifiers.sha512With… in configure()
/external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/operator/jcajce/
DOperatorHelper.java36 import org.bouncycastle.asn1.pkcs.PKCSObjectIdentifiers;
63 oids.put(PKCSObjectIdentifiers.sha224WithRSAEncryption, "SHA224WITHRSA"); in oids.put()
64 oids.put(PKCSObjectIdentifiers.sha256WithRSAEncryption, "SHA256WITHRSA"); in oids.put()
65 oids.put(PKCSObjectIdentifiers.sha384WithRSAEncryption, "SHA384WITHRSA"); in oids.put()
66 oids.put(PKCSObjectIdentifiers.sha512WithRSAEncryption, "SHA512WITHRSA"); in oids.put()
107 asymmetricWrapperAlgNames.put(PKCSObjectIdentifiers.rsaEncryption, "RSA/ECB/PKCS1Padding"); in asymmetricWrapperAlgNames.put()
109 symmetricWrapperAlgNames.put(PKCSObjectIdentifiers.id_alg_CMS3DESwrap, "DESEDEWrap"); in symmetricWrapperAlgNames.put()
110 symmetricWrapperAlgNames.put(PKCSObjectIdentifiers.id_alg_CMSRC2wrap, "RC2Wrap"); in symmetricWrapperAlgNames.put()
118 symmetricWrapperAlgNames.put(PKCSObjectIdentifiers.des_EDE3_CBC, "DESede"); in symmetricWrapperAlgNames.put()
120 … symmetricWrapperKeySizes.put(PKCSObjectIdentifiers.id_alg_CMS3DESwrap, Integers.valueOf(192)); in symmetricWrapperKeySizes.put()
[all …]
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/rsa/
DRSAUtil.java8 import org.bouncycastle.asn1.pkcs.PKCSObjectIdentifiers;
21 PKCSObjectIdentifiers.rsaEncryption,
23 PKCSObjectIdentifiers.id_RSAES_OAEP,
24 PKCSObjectIdentifiers.id_RSASSA_PSS
DAlgorithmParametersSpi.java17 import org.bouncycastle.asn1.pkcs.PKCSObjectIdentifiers;
62 PKCSObjectIdentifiers.id_mgf1, in engineGetEncoded()
66PKCSObjectIdentifiers.id_pSpecified, new DEROctetString(pSource.getValue())); in engineGetEncoded()
122 … if (!oaepP.getMaskGenAlgorithm().getAlgorithm().equals(PKCSObjectIdentifiers.id_mgf1)) in engineInit()
182 PKCSObjectIdentifiers.id_mgf1, in engineGetEncoded()
234 … if (!pssP.getMaskGenAlgorithm().getAlgorithm().equals(PKCSObjectIdentifiers.id_mgf1)) in engineInit()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/util/
DDigestFactory.java11 import org.bouncycastle.asn1.pkcs.PKCSObjectIdentifiers;
42 md5.add(PKCSObjectIdentifiers.md5.getId()); in PKCSObjectIdentifiers.md5.getId()
89 oids.put("MD5", PKCSObjectIdentifiers.md5);
90 oids.put(PKCSObjectIdentifiers.md5.getId(), PKCSObjectIdentifiers.md5); in PKCSObjectIdentifiers.md5.getId()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/dh/
DKeyFactorySpi.java17 import org.bouncycastle.asn1.pkcs.PKCSObjectIdentifiers;
104 if (algOid.equals(PKCSObjectIdentifiers.dhKeyAgreement)) in generatePrivate()
123 if (algOid.equals(PKCSObjectIdentifiers.dhKeyAgreement)) in generatePublic()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/spec/
DPBKDF2KeySpec.java6 import org.bouncycastle.asn1.pkcs.PKCSObjectIdentifiers;
15 …ic final AlgorithmIdentifier defaultPRF = new AlgorithmIdentifier(PKCSObjectIdentifiers.id_hmacWit…

123