/external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/operator/ |
D | DefaultSignatureAlgorithmIdentifierFinder.java | 25 import org.bouncycastle.asn1.x9.X9ObjectIdentifiers; 38 private static final ASN1ObjectIdentifier ENCRYPTION_DSA = X9ObjectIdentifiers.id_dsa_with_sha1; 39 … private static final ASN1ObjectIdentifier ENCRYPTION_ECDSA = X9ObjectIdentifiers.ecdsa_with_SHA1; 77 algorithms.put("SHA1WITHDSA", X9ObjectIdentifiers.id_dsa_with_sha1); 78 algorithms.put("DSAWITHSHA1", X9ObjectIdentifiers.id_dsa_with_sha1); 83 algorithms.put("SHA1WITHECDSA", X9ObjectIdentifiers.ecdsa_with_SHA1); 84 algorithms.put("ECDSAWITHSHA1", X9ObjectIdentifiers.ecdsa_with_SHA1); 85 algorithms.put("SHA224WITHECDSA", X9ObjectIdentifiers.ecdsa_with_SHA224); 86 algorithms.put("SHA256WITHECDSA", X9ObjectIdentifiers.ecdsa_with_SHA256); 87 algorithms.put("SHA384WITHECDSA", X9ObjectIdentifiers.ecdsa_with_SHA384); [all …]
|
D | DefaultDigestAlgorithmIdentifierFinder.java | 19 import org.bouncycastle.asn1.x9.X9ObjectIdentifiers; 49 digestOids.put(X9ObjectIdentifiers.ecdsa_with_SHA1, OIWObjectIdentifiers.idSHA1); in digestOids.put() 50 digestOids.put(X9ObjectIdentifiers.ecdsa_with_SHA224, NISTObjectIdentifiers.id_sha224); in digestOids.put() 51 digestOids.put(X9ObjectIdentifiers.ecdsa_with_SHA256, NISTObjectIdentifiers.id_sha256); in digestOids.put() 52 digestOids.put(X9ObjectIdentifiers.ecdsa_with_SHA384, NISTObjectIdentifiers.id_sha384); in digestOids.put() 53 digestOids.put(X9ObjectIdentifiers.ecdsa_with_SHA512, NISTObjectIdentifiers.id_sha512); in digestOids.put() 54 digestOids.put(X9ObjectIdentifiers.id_dsa_with_sha1, OIWObjectIdentifiers.idSHA1); in digestOids.put()
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/x9/ |
D | X962NamedCurves.java | 556 defineCurve("prime192v1", X9ObjectIdentifiers.prime192v1, prime192v1); 557 defineCurve("prime192v2", X9ObjectIdentifiers.prime192v2, prime192v2); 558 defineCurve("prime192v3", X9ObjectIdentifiers.prime192v3, prime192v3); 559 defineCurve("prime239v1", X9ObjectIdentifiers.prime239v1, prime239v1); 560 defineCurve("prime239v2", X9ObjectIdentifiers.prime239v2, prime239v2); 561 defineCurve("prime239v3", X9ObjectIdentifiers.prime239v3, prime239v3); 562 defineCurve("prime256v1", X9ObjectIdentifiers.prime256v1, prime256v1); 563 defineCurve("c2pnb163v1", X9ObjectIdentifiers.c2pnb163v1, c2pnb163v1); 564 defineCurve("c2pnb163v2", X9ObjectIdentifiers.c2pnb163v2, c2pnb163v2); 565 defineCurve("c2pnb163v3", X9ObjectIdentifiers.c2pnb163v3, c2pnb163v3); [all …]
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/ |
D | EC.java | 13 import org.bouncycastle.asn1.x9.X9ObjectIdentifiers; 75 registerOid(provider, X9ObjectIdentifiers.id_ecPublicKey, "EC", new KeyFactorySpi.EC()); in configure() 80 …registerOid(provider, X9ObjectIdentifiers.dhSinglePass_stdDH_sha1kdf_scheme, "EC", new KeyFactoryS… in configure() 219 …thm(provider, "SHA224", "ECDSA", PREFIX + "SignatureSpi$ecDSA224", X9ObjectIdentifiers.ecdsa_with_… in configure() 220 …thm(provider, "SHA256", "ECDSA", PREFIX + "SignatureSpi$ecDSA256", X9ObjectIdentifiers.ecdsa_with_… in configure() 221 …thm(provider, "SHA384", "ECDSA", PREFIX + "SignatureSpi$ecDSA384", X9ObjectIdentifiers.ecdsa_with_… in configure() 222 …thm(provider, "SHA512", "ECDSA", PREFIX + "SignatureSpi$ecDSA512", X9ObjectIdentifiers.ecdsa_with_… in configure()
|
D | DH.java | 7 import org.bouncycastle.asn1.x9.X9ObjectIdentifiers; 72 registerOid(provider, X9ObjectIdentifiers.dhpublicnumber, "DH", new KeyFactorySpi()); in configure()
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/x509/ |
D | X509Util.java | 39 import org.bouncycastle.asn1.x9.X9ObjectIdentifiers; 80 algorithms.put("SHA1WITHDSA", X9ObjectIdentifiers.id_dsa_with_sha1); 81 algorithms.put("DSAWITHSHA1", X9ObjectIdentifiers.id_dsa_with_sha1); 86 algorithms.put("SHA1WITHECDSA", X9ObjectIdentifiers.ecdsa_with_SHA1); 87 algorithms.put("ECDSAWITHSHA1", X9ObjectIdentifiers.ecdsa_with_SHA1); 88 algorithms.put("SHA224WITHECDSA", X9ObjectIdentifiers.ecdsa_with_SHA224); 89 algorithms.put("SHA256WITHECDSA", X9ObjectIdentifiers.ecdsa_with_SHA256); 90 algorithms.put("SHA384WITHECDSA", X9ObjectIdentifiers.ecdsa_with_SHA384); 91 algorithms.put("SHA512WITHECDSA", X9ObjectIdentifiers.ecdsa_with_SHA512); 104 noParams.add(X9ObjectIdentifiers.ecdsa_with_SHA1); [all …]
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jce/ |
D | PKCS10CertificationRequest.java | 48 import org.bouncycastle.asn1.x9.X9ObjectIdentifiers; 126 algorithms.put("SHA1WITHECDSA", X9ObjectIdentifiers.ecdsa_with_SHA1); 127 algorithms.put("SHA224WITHECDSA", X9ObjectIdentifiers.ecdsa_with_SHA224); 128 algorithms.put("SHA256WITHECDSA", X9ObjectIdentifiers.ecdsa_with_SHA256); 129 algorithms.put("SHA384WITHECDSA", X9ObjectIdentifiers.ecdsa_with_SHA384); 130 algorithms.put("SHA512WITHECDSA", X9ObjectIdentifiers.ecdsa_with_SHA512); 131 algorithms.put("ECDSAWITHSHA1", X9ObjectIdentifiers.ecdsa_with_SHA1); 158 oids.put(X9ObjectIdentifiers.ecdsa_with_SHA1, "SHA1WITHECDSA"); in oids.put() 159 oids.put(X9ObjectIdentifiers.ecdsa_with_SHA224, "SHA224WITHECDSA"); in oids.put() 160 oids.put(X9ObjectIdentifiers.ecdsa_with_SHA256, "SHA256WITHECDSA"); in oids.put() [all …]
|
/external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/cms/ |
D | DefaultCMSSignatureAlgorithmNameGenerator.java | 18 import org.bouncycastle.asn1.x9.X9ObjectIdentifiers; 60 addEntries(X9ObjectIdentifiers.ecdsa_with_SHA1, "SHA1", "ECDSA"); in DefaultCMSSignatureAlgorithmNameGenerator() 61 addEntries(X9ObjectIdentifiers.ecdsa_with_SHA224, "SHA224", "ECDSA"); in DefaultCMSSignatureAlgorithmNameGenerator() 62 addEntries(X9ObjectIdentifiers.ecdsa_with_SHA256, "SHA256", "ECDSA"); in DefaultCMSSignatureAlgorithmNameGenerator() 63 addEntries(X9ObjectIdentifiers.ecdsa_with_SHA384, "SHA384", "ECDSA"); in DefaultCMSSignatureAlgorithmNameGenerator() 64 addEntries(X9ObjectIdentifiers.ecdsa_with_SHA512, "SHA512", "ECDSA"); in DefaultCMSSignatureAlgorithmNameGenerator() 65 addEntries(X9ObjectIdentifiers.id_dsa_with_sha1, "SHA1", "DSA"); in DefaultCMSSignatureAlgorithmNameGenerator() 84 encryptionAlgs.put(X9ObjectIdentifiers.id_dsa, "DSA"); in DefaultCMSSignatureAlgorithmNameGenerator()
|
D | CMSSignedGenerator.java | 24 import org.bouncycastle.asn1.x9.X9ObjectIdentifiers; 52 public static final String ENCRYPTION_DSA = X9ObjectIdentifiers.id_dsa_with_sha1.getId(); 53 public static final String ENCRYPTION_ECDSA = X9ObjectIdentifiers.ecdsa_with_SHA1.getId(); 60 …private static final String ENCRYPTION_ECDSA_WITH_SHA1 = X9ObjectIdentifiers.ecdsa_with_SHA1.getI… 61 …private static final String ENCRYPTION_ECDSA_WITH_SHA224 = X9ObjectIdentifiers.ecdsa_with_SHA224.… 62 …private static final String ENCRYPTION_ECDSA_WITH_SHA256 = X9ObjectIdentifiers.ecdsa_with_SHA256.… 63 …private static final String ENCRYPTION_ECDSA_WITH_SHA384 = X9ObjectIdentifiers.ecdsa_with_SHA384.… 64 …private static final String ENCRYPTION_ECDSA_WITH_SHA512 = X9ObjectIdentifiers.ecdsa_with_SHA512.…
|
D | CMSSignedHelper.java | 30 import org.bouncycastle.asn1.x9.X9ObjectIdentifiers; 74 addEntries(X9ObjectIdentifiers.ecdsa_with_SHA1, "SHA1", "ECDSA"); in addEntries() 75 addEntries(X9ObjectIdentifiers.ecdsa_with_SHA224, "SHA224", "ECDSA"); in addEntries() 76 addEntries(X9ObjectIdentifiers.ecdsa_with_SHA256, "SHA256", "ECDSA"); in addEntries() 77 addEntries(X9ObjectIdentifiers.ecdsa_with_SHA384, "SHA384", "ECDSA"); in addEntries() 78 addEntries(X9ObjectIdentifiers.ecdsa_with_SHA512, "SHA512", "ECDSA"); in addEntries() 79 addEntries(X9ObjectIdentifiers.id_dsa_with_sha1, "SHA1", "DSA"); in addEntries() 90 encryptionAlgs.put(X9ObjectIdentifiers.id_dsa.getId(), "DSA"); in X9ObjectIdentifiers.id_dsa.getId()
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/dsa/ |
D | DSAUtil.java | 14 import org.bouncycastle.asn1.x9.X9ObjectIdentifiers; 28 X9ObjectIdentifiers.id_dsa, 30 X9ObjectIdentifiers.id_dsa_with_sha1,
|
D | BCDSAPublicKey.java | 18 import org.bouncycastle.asn1.x9.X9ObjectIdentifiers; 119 …urn KeyUtil.getEncodedSubjectPublicKeyInfo(new AlgorithmIdentifier(X9ObjectIdentifiers.id_dsa), ne… in getEncoded() 122 …return KeyUtil.getEncodedSubjectPublicKeyInfo(new AlgorithmIdentifier(X9ObjectIdentifiers.id_dsa, … in getEncoded()
|
D | BCDSAPrivateKey.java | 19 import org.bouncycastle.asn1.x9.X9ObjectIdentifiers; 94 …return KeyUtil.getEncodedPrivateKeyInfo(new AlgorithmIdentifier(X9ObjectIdentifiers.id_dsa, new DS… in getEncoded()
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/sec/ |
D | SECObjectIdentifiers.java | 4 import org.bouncycastle.asn1.x9.X9ObjectIdentifiers; 83 static final ASN1ObjectIdentifier secp192r1 = X9ObjectIdentifiers.prime192v1; 85 static final ASN1ObjectIdentifier secp256r1 = X9ObjectIdentifiers.prime256v1;
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/dh/ |
D | KeyFactorySpi.java | 20 import org.bouncycastle.asn1.x9.X9ObjectIdentifiers; 108 else if (algOid.equals(X9ObjectIdentifiers.dhpublicnumber)) in generatePrivate() 127 else if (algOid.equals(X9ObjectIdentifiers.dhpublicnumber)) in generatePublic()
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/util/ |
D | PublicKeyFactory.java | 32 import org.bouncycastle.asn1.x9.X9ObjectIdentifiers; 97 else if (algId.getAlgorithm().equals(X9ObjectIdentifiers.dhpublicnumber)) in createKey() 150 else if (algId.getAlgorithm().equals(X9ObjectIdentifiers.id_dsa) in createKey() 165 else if (algId.getAlgorithm().equals(X9ObjectIdentifiers.id_ecPublicKey)) in createKey()
|
D | PrivateKeyFactory.java | 26 import org.bouncycastle.asn1.x9.X9ObjectIdentifiers; 115 else if (algId.getAlgorithm().equals(X9ObjectIdentifiers.id_dsa)) in createKey() 129 else if (algId.getAlgorithm().equals(X9ObjectIdentifiers.id_ecPublicKey)) in createKey()
|
/external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/operator/jcajce/ |
D | OperatorHelper.java | 42 import org.bouncycastle.asn1.x9.X9ObjectIdentifiers; 89 oids.put(X9ObjectIdentifiers.ecdsa_with_SHA1, "SHA1WITHECDSA"); in oids.put() 90 oids.put(X9ObjectIdentifiers.ecdsa_with_SHA224, "SHA224WITHECDSA"); in oids.put() 91 oids.put(X9ObjectIdentifiers.ecdsa_with_SHA256, "SHA256WITHECDSA"); in oids.put() 92 oids.put(X9ObjectIdentifiers.ecdsa_with_SHA384, "SHA384WITHECDSA"); in oids.put() 93 oids.put(X9ObjectIdentifiers.ecdsa_with_SHA512, "SHA512WITHECDSA"); in oids.put()
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jce/provider/ |
D | JDKDSAPublicKey.java | 19 import org.bouncycastle.asn1.x9.X9ObjectIdentifiers; 106 …return new SubjectPublicKeyInfo(new AlgorithmIdentifier(X9ObjectIdentifiers.id_dsa), new ASN1Integ… in getEncoded() 109 …return new SubjectPublicKeyInfo(new AlgorithmIdentifier(X9ObjectIdentifiers.id_dsa, new DSAParamet… in getEncoded()
|
D | X509SignatureUtil.java | 26 import org.bouncycastle.asn1.x9.X9ObjectIdentifiers; 79 if (sigAlgId.getAlgorithm().equals(X9ObjectIdentifiers.ecdsa_with_SHA2)) in getSignatureName()
|
D | JCEDHPublicKey.java | 20 import org.bouncycastle.asn1.x9.X9ObjectIdentifiers; 96 else if (id.equals(X9ObjectIdentifiers.dhpublicnumber)) in JCEDHPublicKey()
|
D | JDKDSAPrivateKey.java | 20 import org.bouncycastle.asn1.x9.X9ObjectIdentifiers; 96 …KeyInfo info = new PrivateKeyInfo(new AlgorithmIdentifier(X9ObjectIdentifiers.id_dsa, new… in getEncoded()
|
D | JCEDHPrivateKey.java | 23 import org.bouncycastle.asn1.x9.X9ObjectIdentifiers; 82 else if (id.equals(X9ObjectIdentifiers.dhpublicnumber)) in JCEDHPrivateKey()
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/ec/ |
D | KeyFactorySpi.java | 16 import org.bouncycastle.asn1.x9.X9ObjectIdentifiers; 168 if (algOid.equals(X9ObjectIdentifiers.id_ecPublicKey)) in generatePrivate() 183 if (algOid.equals(X9ObjectIdentifiers.id_ecPublicKey)) in generatePublic()
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/x509/ |
D | X509SignatureUtil.java | 22 import org.bouncycastle.asn1.x9.X9ObjectIdentifiers; 75 if (sigAlgId.getAlgorithm().equals(X9ObjectIdentifiers.ecdsa_with_SHA2)) in getSignatureName()
|