Home
last modified time | relevance | path

Searched refs:oids (Results 1 – 20 of 20) sorted by relevance

/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/util/
DDigestFactory.java37 private static Map oids = new HashMap(); field in DigestFactory
66 oids.put("MD5", PKCSObjectIdentifiers.md5);
67 oids.put(PKCSObjectIdentifiers.md5.getId(), PKCSObjectIdentifiers.md5); in PKCSObjectIdentifiers.md5.getId()
69 oids.put("SHA1", OIWObjectIdentifiers.idSHA1);
70 oids.put("SHA-1", OIWObjectIdentifiers.idSHA1);
71 oids.put(OIWObjectIdentifiers.idSHA1.getId(), OIWObjectIdentifiers.idSHA1); in OIWObjectIdentifiers.idSHA1.getId()
79 oids.put("SHA256", NISTObjectIdentifiers.id_sha256);
80 oids.put("SHA-256", NISTObjectIdentifiers.id_sha256);
81 oids.put(NISTObjectIdentifiers.id_sha256.getId(), NISTObjectIdentifiers.id_sha256); in NISTObjectIdentifiers.id_sha256.getId()
83 oids.put("SHA384", NISTObjectIdentifiers.id_sha384);
[all …]
/external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/operator/jcajce/
DOperatorHelper.java41 private static final Map oids = new HashMap(); field in OperatorHelper
51 oids.put(new ASN1ObjectIdentifier("1.2.840.113549.1.1.5"), "SHA1WITHRSA"); in oids.put()
55 oids.put(PKCSObjectIdentifiers.sha256WithRSAEncryption, "SHA256WITHRSA"); in oids.put()
56 oids.put(PKCSObjectIdentifiers.sha384WithRSAEncryption, "SHA384WITHRSA"); in oids.put()
57 oids.put(PKCSObjectIdentifiers.sha512WithRSAEncryption, "SHA512WITHRSA"); in oids.put()
63 oids.put(new ASN1ObjectIdentifier("1.2.840.113549.1.1.4"), "MD5WITHRSA"); in oids.put()
67 oids.put(new ASN1ObjectIdentifier("1.2.840.10040.4.3"), "SHA1WITHDSA"); in oids.put()
68 oids.put(X9ObjectIdentifiers.ecdsa_with_SHA1, "SHA1WITHECDSA"); in oids.put()
72 oids.put(X9ObjectIdentifiers.ecdsa_with_SHA256, "SHA256WITHECDSA"); in oids.put()
73 oids.put(X9ObjectIdentifiers.ecdsa_with_SHA384, "SHA384WITHECDSA"); in oids.put()
[all …]
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/x500/
DX500NameBuilder.java39 public X500NameBuilder addMultiValuedRDN(ASN1ObjectIdentifier[] oids, String[] values) in addMultiValuedRDN() argument
45 vals[i] = template.stringToValue(oids[i], values[i]); in addMultiValuedRDN()
48 return addMultiValuedRDN(oids, vals); in addMultiValuedRDN()
51 public X500NameBuilder addMultiValuedRDN(ASN1ObjectIdentifier[] oids, ASN1Encodable[] values) in addMultiValuedRDN() argument
53 AttributeTypeAndValue[] avs = new AttributeTypeAndValue[oids.length]; in addMultiValuedRDN()
55 for (int i = 0; i != oids.length; i++) in addMultiValuedRDN()
57 avs[i] = new AttributeTypeAndValue(oids[i], values[i]); in addMultiValuedRDN()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jce/
DPKCS10CertificationRequest.java83 private static Hashtable oids = new Hashtable(); field in PKCS10CertificationRequest
151 oids.put(new DERObjectIdentifier("1.2.840.113549.1.1.5"), "SHA1WITHRSA"); in oids.put()
155 oids.put(PKCSObjectIdentifiers.sha256WithRSAEncryption, "SHA256WITHRSA"); in oids.put()
156 oids.put(PKCSObjectIdentifiers.sha384WithRSAEncryption, "SHA384WITHRSA"); in oids.put()
157 oids.put(PKCSObjectIdentifiers.sha512WithRSAEncryption, "SHA512WITHRSA"); in oids.put()
163 oids.put(new DERObjectIdentifier("1.2.840.113549.1.1.4"), "MD5WITHRSA"); in oids.put()
168 oids.put(new DERObjectIdentifier("1.2.840.10040.4.3"), "SHA1WITHDSA"); in oids.put()
169 oids.put(X9ObjectIdentifiers.ecdsa_with_SHA1, "SHA1WITHECDSA"); in oids.put()
173 oids.put(X9ObjectIdentifiers.ecdsa_with_SHA256, "SHA256WITHECDSA"); in oids.put()
174 oids.put(X9ObjectIdentifiers.ecdsa_with_SHA384, "SHA384WITHECDSA"); in oids.put()
[all …]
DX509Principal.java97 Vector oids, in X509Principal() argument
100 super(oids, values); in X509Principal()
/external/openssl/crypto/objects/
Dobjects.pl222 $oids = join('L,',@a) . "L";
223 if ($oids ne "L")
225 $oids = $pref_oid . $pref_sep . $oids;
229 $oids = $pref_oid;
231 return($oids);
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/x500/style/
DIETFUtils.java46 Vector oids = new Vector(); in rDNsFromString() local
49 oids.addElement(oid); in rDNsFromString()
60 oids.addElement(x500Style.attrNameToOID(nm)); in rDNsFromString()
64 builder.addMultiValuedRDN(toOIDArray(oids), toValueArray(values)); in rDNsFromString()
87 private static ASN1ObjectIdentifier[] toOIDArray(Vector oids) in toOIDArray() argument
89 ASN1ObjectIdentifier[] tmp = new ASN1ObjectIdentifier[oids.size()]; in toOIDArray()
93 tmp[i] = (ASN1ObjectIdentifier)oids.elementAt(i); in toOIDArray()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/x509/
DExtensions.java96 public Enumeration oids() in oids() method in Extensions
206 ASN1ObjectIdentifier[] oids = new ASN1ObjectIdentifier[oidVec.size()]; in toOidArray() local
208 for (int i = 0; i != oids.length; i++) in toOidArray()
210 oids[i] = (ASN1ObjectIdentifier)oidVec.elementAt(i); in toOidArray()
212 return oids; in toOidArray()
DX509Extensions.java358 public Enumeration oids() in oids() method in X509Extensions
481 ASN1ObjectIdentifier[] oids = new ASN1ObjectIdentifier[oidVec.size()]; in toOidArray() local
483 for (int i = 0; i != oids.length; i++) in toOidArray()
485 oids[i] = (ASN1ObjectIdentifier)oidVec.elementAt(i); in toOidArray()
487 return oids; in toOidArray()
DX509Name.java544 Vector oids, in X509Name() argument
547 this(oids, values, new X509DefaultEntryConverter()); in X509Name()
557 Vector oids, in X509Name() argument
563 if (oids.size() != values.size()) in X509Name()
568 for (int i = 0; i < oids.size(); i++) in X509Name()
570 this.ordering.addElement(oids.elementAt(i)); in X509Name()
/external/bouncycastle/patches/
Dbcpkix.patch904 oids.put(new ASN1ObjectIdentifier("1.2.840.113549.1.1.5"), "SHA1WITHRSA");
905 - oids.put(PKCSObjectIdentifiers.sha224WithRSAEncryption, "SHA224WITHRSA");
907 + // oids.put(PKCSObjectIdentifiers.sha224WithRSAEncryption, "SHA224WITHRSA");
909 oids.put(PKCSObjectIdentifiers.sha256WithRSAEncryption, "SHA256WITHRSA");
910 oids.put(PKCSObjectIdentifiers.sha384WithRSAEncryption, "SHA384WITHRSA");
911 oids.put(PKCSObjectIdentifiers.sha512WithRSAEncryption, "SHA512WITHRSA");
912 - oids.put(CryptoProObjectIdentifiers.gostR3411_94_with_gostR3410_94, "GOST3411WITHGOST3410"…
913 - oids.put(CryptoProObjectIdentifiers.gostR3411_94_with_gostR3410_2001, "GOST3411WITHECGOST3…
915 + // oids.put(CryptoProObjectIdentifiers.gostR3411_94_with_gostR3410_94, "GOST3411WITHGOST34…
916 + // oids.put(CryptoProObjectIdentifiers.gostR3411_94_with_gostR3410_2001, "GOST3411WITHECGO…
[all …]
Dbcprov.patch5919 oids.put("SHA-1", OIWObjectIdentifiers.idSHA1);
5920 oids.put(OIWObjectIdentifiers.idSHA1.getId(), OIWObjectIdentifiers.idSHA1);
5922 - oids.put("SHA224", NISTObjectIdentifiers.id_sha224);
5923 - oids.put("SHA-224", NISTObjectIdentifiers.id_sha224);
5924 - oids.put(NISTObjectIdentifiers.id_sha224.getId(), NISTObjectIdentifiers.id_sha224);
5926 + // oids.put("SHA224", NISTObjectIdentifiers.id_sha224);
5927 + // oids.put("SHA-224", NISTObjectIdentifiers.id_sha224);
5928 + // oids.put(NISTObjectIdentifiers.id_sha224.getId(), NISTObjectIdentifiers.id_sha224);
5931 oids.put("SHA256", NISTObjectIdentifiers.id_sha256);
5932 oids.put("SHA-256", NISTObjectIdentifiers.id_sha256);
[all …]
/external/openssl/crypto/ocsp/
Docsp_ext.c453 X509_EXTENSION *OCSP_accept_responses_new(char **oids) in OCSP_accept_responses_new() argument
461 while (oids && *oids) in OCSP_accept_responses_new()
463 if ((nid=OBJ_txt2nid(*oids))!=NID_undef&&(o=OBJ_nid2obj(nid))) in OCSP_accept_responses_new()
465 oids++; in OCSP_accept_responses_new()
Docsp.h483 X509_EXTENSION *OCSP_accept_responses_new(char **oids);
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jce/provider/
DX509CRLEntryObject.java141 Enumeration e = extensions.oids(); in getExtensionOIDs()
250 Enumeration e = extensions.oids(); in toString()
DX509CertificateObject.java403 Enumeration e = extensions.oids(); in getCriticalExtensionOIDs()
472 Enumeration e = extensions.oids(); in getNonCriticalExtensionOIDs()
500 Enumeration e = extensions.oids(); in hasUnsupportedCriticalExtension()
676 Enumeration e = extensions.oids(); in toString()
DX509CRLObject.java134 Enumeration e = extensions.oids(); in getExtensionOIDs()
424 Enumeration e = extensions.oids(); in toString()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/x509/
DX509V2AttributeCertificate.java240 Enumeration e = extensions.oids(); in getExtensionOIDs()
/external/chromium/net/base/
Dx509_certificate_nss.cc438 in_param.value.array.oids = policy_oids; in PKIXVerifyCert()
514 in_param.value.array.oids = &policy; in RetryPKIXVerifyCertWithWorkarounds()
/external/openssl/include/openssl/
Docsp.h483 X509_EXTENSION *OCSP_accept_responses_new(char **oids);