Home
last modified time | relevance | path

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

12

/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/util/
DDigestFactory.java37 private static Map oids = new HashMap(); field in DigestFactory
89 oids.put("MD5", PKCSObjectIdentifiers.md5);
90 oids.put(PKCSObjectIdentifiers.md5.getId(), PKCSObjectIdentifiers.md5); in PKCSObjectIdentifiers.md5.getId()
92 oids.put("SHA1", OIWObjectIdentifiers.idSHA1);
93 oids.put("SHA-1", OIWObjectIdentifiers.idSHA1);
94 oids.put(OIWObjectIdentifiers.idSHA1.getId(), OIWObjectIdentifiers.idSHA1); in OIWObjectIdentifiers.idSHA1.getId()
96 oids.put("SHA224", NISTObjectIdentifiers.id_sha224);
97 oids.put("SHA-224", NISTObjectIdentifiers.id_sha224);
98 oids.put(NISTObjectIdentifiers.id_sha224.getId(), NISTObjectIdentifiers.id_sha224); in NISTObjectIdentifiers.id_sha224.getId()
100 oids.put("SHA256", NISTObjectIdentifiers.id_sha256);
[all …]
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/jcajce/provider/util/
DDigestFactory.java41 private static Map oids = new HashMap(); field in DigestFactory
93 oids.put("MD5", PKCSObjectIdentifiers.md5);
94 oids.put(PKCSObjectIdentifiers.md5.getId(), PKCSObjectIdentifiers.md5); in PKCSObjectIdentifiers.md5.getId()
96 oids.put("SHA1", OIWObjectIdentifiers.idSHA1);
97 oids.put("SHA-1", OIWObjectIdentifiers.idSHA1);
98 oids.put(OIWObjectIdentifiers.idSHA1.getId(), OIWObjectIdentifiers.idSHA1); in OIWObjectIdentifiers.idSHA1.getId()
100 oids.put("SHA224", NISTObjectIdentifiers.id_sha224);
101 oids.put("SHA-224", NISTObjectIdentifiers.id_sha224);
102 oids.put(NISTObjectIdentifiers.id_sha224.getId(), NISTObjectIdentifiers.id_sha224); in NISTObjectIdentifiers.id_sha224.getId()
104 oids.put("SHA256", NISTObjectIdentifiers.id_sha256);
[all …]
/external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/operator/jcajce/
DOperatorHelper.java55 private static final Map oids = new HashMap(); field in OperatorHelper
66 oids.put(new ASN1ObjectIdentifier("1.2.840.113549.1.1.5"), "SHA1WITHRSA"); in oids.put()
67 oids.put(PKCSObjectIdentifiers.sha224WithRSAEncryption, "SHA224WITHRSA"); in oids.put()
68 oids.put(PKCSObjectIdentifiers.sha256WithRSAEncryption, "SHA256WITHRSA"); in oids.put()
69 oids.put(PKCSObjectIdentifiers.sha384WithRSAEncryption, "SHA384WITHRSA"); in oids.put()
70 oids.put(PKCSObjectIdentifiers.sha512WithRSAEncryption, "SHA512WITHRSA"); in oids.put()
91 oids.put(new ASN1ObjectIdentifier("1.2.840.113549.1.1.4"), "MD5WITHRSA"); in oids.put()
95 oids.put(new ASN1ObjectIdentifier("1.2.840.10040.4.3"), "SHA1WITHDSA"); in oids.put()
96 oids.put(X9ObjectIdentifiers.ecdsa_with_SHA1, "SHA1WITHECDSA"); in oids.put()
97 oids.put(X9ObjectIdentifiers.ecdsa_with_SHA224, "SHA224WITHECDSA"); in oids.put()
[all …]
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/x500/
DX500NameBuilder.java83 public X500NameBuilder addMultiValuedRDN(ASN1ObjectIdentifier[] oids, String[] values) in addMultiValuedRDN() argument
89 vals[i] = template.stringToValue(oids[i], values[i]); in addMultiValuedRDN()
92 return addMultiValuedRDN(oids, vals); in addMultiValuedRDN()
102 public X500NameBuilder addMultiValuedRDN(ASN1ObjectIdentifier[] oids, ASN1Encodable[] values) in addMultiValuedRDN() argument
104 AttributeTypeAndValue[] avs = new AttributeTypeAndValue[oids.length]; in addMultiValuedRDN()
106 for (int i = 0; i != oids.length; i++) in addMultiValuedRDN()
108 avs[i] = new AttributeTypeAndValue(oids[i], values[i]); in addMultiValuedRDN()
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/asn1/x500/
DX500NameBuilder.java85 public X500NameBuilder addMultiValuedRDN(ASN1ObjectIdentifier[] oids, String[] values) in addMultiValuedRDN() argument
91 vals[i] = template.stringToValue(oids[i], values[i]); in addMultiValuedRDN()
94 return addMultiValuedRDN(oids, vals); in addMultiValuedRDN()
104 public X500NameBuilder addMultiValuedRDN(ASN1ObjectIdentifier[] oids, ASN1Encodable[] values) in addMultiValuedRDN() argument
106 AttributeTypeAndValue[] avs = new AttributeTypeAndValue[oids.length]; in addMultiValuedRDN()
108 for (int i = 0; i != oids.length; i++) in addMultiValuedRDN()
110 avs[i] = new AttributeTypeAndValue(oids[i], values[i]); in addMultiValuedRDN()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jce/
DPKCS10CertificationRequest.java81 private static Hashtable oids = new Hashtable(); field in PKCS10CertificationRequest
140 oids.put(new ASN1ObjectIdentifier("1.2.840.113549.1.1.5"), "SHA1WITHRSA"); in oids.put()
141 oids.put(PKCSObjectIdentifiers.sha224WithRSAEncryption, "SHA224WITHRSA"); in oids.put()
142 oids.put(PKCSObjectIdentifiers.sha256WithRSAEncryption, "SHA256WITHRSA"); in oids.put()
143 oids.put(PKCSObjectIdentifiers.sha384WithRSAEncryption, "SHA384WITHRSA"); in oids.put()
144 oids.put(PKCSObjectIdentifiers.sha512WithRSAEncryption, "SHA512WITHRSA"); in oids.put()
150 oids.put(new ASN1ObjectIdentifier("1.2.840.113549.1.1.4"), "MD5WITHRSA"); in oids.put()
154 oids.put(new ASN1ObjectIdentifier("1.2.840.10040.4.3"), "SHA1WITHDSA"); in oids.put()
155 oids.put(X9ObjectIdentifiers.ecdsa_with_SHA1, "SHA1WITHECDSA"); in oids.put()
156 oids.put(X9ObjectIdentifiers.ecdsa_with_SHA224, "SHA224WITHECDSA"); in oids.put()
[all …]
DX509Principal.java98 Vector oids, in X509Principal() argument
101 super(oids, values); in X509Principal()
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/jce/
DPKCS10CertificationRequest.java83 private static Hashtable oids = new Hashtable(); field in PKCS10CertificationRequest
142 oids.put(new ASN1ObjectIdentifier("1.2.840.113549.1.1.5"), "SHA1WITHRSA"); in oids.put()
143 oids.put(PKCSObjectIdentifiers.sha224WithRSAEncryption, "SHA224WITHRSA"); in oids.put()
144 oids.put(PKCSObjectIdentifiers.sha256WithRSAEncryption, "SHA256WITHRSA"); in oids.put()
145 oids.put(PKCSObjectIdentifiers.sha384WithRSAEncryption, "SHA384WITHRSA"); in oids.put()
146 oids.put(PKCSObjectIdentifiers.sha512WithRSAEncryption, "SHA512WITHRSA"); in oids.put()
152 oids.put(new ASN1ObjectIdentifier("1.2.840.113549.1.1.4"), "MD5WITHRSA"); in oids.put()
156 oids.put(new ASN1ObjectIdentifier("1.2.840.10040.4.3"), "SHA1WITHDSA"); in oids.put()
157 oids.put(X9ObjectIdentifiers.ecdsa_with_SHA1, "SHA1WITHECDSA"); in oids.put()
158 oids.put(X9ObjectIdentifiers.ecdsa_with_SHA224, "SHA224WITHECDSA"); in oids.put()
[all …]
DX509Principal.java104 Vector oids, in X509Principal() argument
107 super(oids, values); in X509Principal()
/external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/openssl/
DCertificateTrustBlock.java83 Set<ASN1ObjectIdentifier> oids = new HashSet<ASN1ObjectIdentifier>(seq.size()); in toSet() local
87 oids.add(ASN1ObjectIdentifier.getInstance(en.nextElement())); in toSet()
90 return oids; in toSet()
96 private ASN1Sequence toSequence(Set<ASN1ObjectIdentifier> oids) in toSequence() argument
98 if (oids == null || oids.isEmpty()) in toSequence()
105 for (Iterator it = oids.iterator(); it.hasNext();) in toSequence()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/x509/
DExtensions.java101 public Enumeration oids() in oids() method in Extensions
219 ASN1ObjectIdentifier[] oids = new ASN1ObjectIdentifier[oidVec.size()]; in toOidArray() local
221 for (int i = 0; i != oids.length; i++) in toOidArray()
223 oids[i] = (ASN1ObjectIdentifier)oidVec.elementAt(i); in toOidArray()
225 return oids; in toOidArray()
DX509Extensions.java359 public Enumeration oids() in oids() method in X509Extensions
469 ASN1ObjectIdentifier[] oids = new ASN1ObjectIdentifier[oidVec.size()]; in toOidArray() local
471 for (int i = 0; i != oids.length; i++) in toOidArray()
473 oids[i] = (ASN1ObjectIdentifier)oidVec.elementAt(i); in toOidArray()
475 return oids; in toOidArray()
DX509Name.java545 Vector oids, in X509Name() argument
548 this(oids, values, new X509DefaultEntryConverter()); in X509Name()
559 Vector oids, in X509Name() argument
565 if (oids.size() != values.size()) in X509Name()
570 for (int i = 0; i < oids.size(); i++) in X509Name()
572 this.ordering.addElement(oids.elementAt(i)); in X509Name()
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/asn1/x509/
DExtensions.java105 public Enumeration oids() in oids() method in Extensions
223 ASN1ObjectIdentifier[] oids = new ASN1ObjectIdentifier[oidVec.size()]; in toOidArray() local
225 for (int i = 0; i != oids.length; i++) in toOidArray()
227 oids[i] = (ASN1ObjectIdentifier)oidVec.elementAt(i); in toOidArray()
229 return oids; in toOidArray()
DX509Extensions.java361 public Enumeration oids() in oids() method in X509Extensions
471 ASN1ObjectIdentifier[] oids = new ASN1ObjectIdentifier[oidVec.size()]; in toOidArray() local
473 for (int i = 0; i != oids.length; i++) in toOidArray()
475 oids[i] = (ASN1ObjectIdentifier)oidVec.elementAt(i); in toOidArray()
477 return oids; in toOidArray()
DX509Name.java555 Vector oids, in X509Name() argument
558 this(oids, values, new X509DefaultEntryConverter()); in X509Name()
569 Vector oids, in X509Name() argument
575 if (oids.size() != values.size()) in X509Name()
580 for (int i = 0; i < oids.size(); i++) in X509Name()
582 this.ordering.addElement(oids.elementAt(i)); in X509Name()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/x500/style/
DIETFUtils.java155 Vector oids = new Vector(); in rDNsFromString() local
158 oids.addElement(oid); in rDNsFromString()
176 oids.addElement(oid); in rDNsFromString()
180 builder.addMultiValuedRDN(toOIDArray(oids), toValueArray(values)); in rDNsFromString()
220 private static ASN1ObjectIdentifier[] toOIDArray(Vector oids) in toOIDArray() argument
222 ASN1ObjectIdentifier[] tmp = new ASN1ObjectIdentifier[oids.size()]; in toOIDArray()
226 tmp[i] = (ASN1ObjectIdentifier)oids.elementAt(i); in toOIDArray()
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/asn1/x500/style/
DIETFUtils.java159 Vector oids = new Vector(); in rDNsFromString() local
162 oids.addElement(oid); in rDNsFromString()
180 oids.addElement(oid); in rDNsFromString()
184 builder.addMultiValuedRDN(toOIDArray(oids), toValueArray(values)); in rDNsFromString()
224 private static ASN1ObjectIdentifier[] toOIDArray(Vector oids) in toOIDArray() argument
226 ASN1ObjectIdentifier[] tmp = new ASN1ObjectIdentifier[oids.size()]; in toOIDArray()
230 tmp[i] = (ASN1ObjectIdentifier)oids.elementAt(i); in toOIDArray()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/util/
DBaseAgreementSpi.java40 private static final Hashtable oids = new Hashtable(); field in BaseAgreementSpi
136 oids.put("DESEDE", PKCSObjectIdentifiers.des_EDE3_CBC);
137 oids.put("AES", NISTObjectIdentifiers.id_aes256_CBC);
138 oids.put("DES", OIWObjectIdentifiers.desCBC);
267 if (oids.containsKey(algKey)) in engineGenerateSecret()
269 oidAlgorithm = ((ASN1ObjectIdentifier)oids.get(algKey)).getId(); in engineGenerateSecret()
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/jcajce/provider/asymmetric/util/
DBaseAgreementSpi.java44 private static final Hashtable oids = new Hashtable(); field in BaseAgreementSpi
140 oids.put("DESEDE", PKCSObjectIdentifiers.des_EDE3_CBC);
141 oids.put("AES", NISTObjectIdentifiers.id_aes256_CBC);
142 oids.put("DES", OIWObjectIdentifiers.desCBC);
271 if (oids.containsKey(algKey)) in engineGenerateSecret()
273 oidAlgorithm = ((ASN1ObjectIdentifier)oids.get(algKey)).getId(); in engineGenerateSecret()
/external/scapy/scapy/asn1/
Dmib.py60 oids = [self[k] for k in six.iterkeys(self)]
62 if k not in oids:
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/x509/
DX509CRLEntryObject.java139 Enumeration e = extensions.oids(); in getExtensionOIDs()
272 Enumeration e = extensions.oids(); in toString()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jce/provider/
DX509CRLEntryObject.java140 Enumeration e = extensions.oids(); in getExtensionOIDs()
273 Enumeration e = extensions.oids(); in toString()
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/jcajce/provider/asymmetric/x509/
DX509CRLEntryObject.java140 Enumeration e = extensions.oids(); in getExtensionOIDs()
273 Enumeration e = extensions.oids(); in toString()
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/jce/provider/
DX509CRLEntryObject.java142 Enumeration e = extensions.oids(); in getExtensionOIDs()
275 Enumeration e = extensions.oids(); in toString()

12