/external/bouncycastle/src/main/java/org/bouncycastle/asn1/ |
H A D | OIDTokenizer.java | 11 private String oid; field in class:OIDTokenizer 15 String oid) 17 this.oid = oid; 34 int end = oid.indexOf('.', index); 38 token = oid.substring(index); 43 token = oid.substring(index, end); 14 OIDTokenizer( String oid) argument
|
/external/bouncycastle/src/main/java/org/bouncycastle/asn1/x509/ |
H A D | X509DefaultEntryConverter.java | 20 * Apply default coversion for the given value depending on the oid 23 * @param oid the object identifier for the DN entry 28 DERObjectIdentifier oid, 39 throw new RuntimeException("can't recode value for oid " + oid.getId()); 48 if (oid.equals(X509Name.EmailAddress) || oid.equals(X509Name.DC)) 52 else if (oid.equals(X509Name.DATE_OF_BIRTH)) // accept time string as well as # (for compatibility) 56 else if (oid.equals(X509Name.C) || oid 27 getConvertedValue( DERObjectIdentifier oid, String value) argument [all...] |
H A D | X509ExtensionsGenerator.java | 30 * Add an extension with the given oid and the passed in value to be included 33 * @param oid OID for the extension. 38 DERObjectIdentifier oid, 44 this.addExtension(oid, critical, value.getDERObject().getEncoded(ASN1Encodable.DER)); 53 * Add an extension with the given oid and the passed in byte array to be wrapped in the 56 * @param oid OID for the extension. 61 DERObjectIdentifier oid, 65 if (extensions.containsKey(oid)) 67 throw new IllegalArgumentException("extension " + oid + " already added"); 70 extOrdering.addElement(oid); 37 addExtension( DERObjectIdentifier oid, boolean critical, DEREncodable value) argument 60 addExtension( DERObjectIdentifier oid, boolean critical, byte[] value) argument [all...] |
H A D | X509NameEntryConverter.java | 23 * DERObjectIdentifier oid, 30 * if (oid.equals(EmailAddress)) 108 * @param oid the oid associated with the value in the DN. 112 public abstract DERObject getConvertedValue(DERObjectIdentifier oid, String value); argument
|
H A D | X509NameTokenizer.java | 17 String oid) 19 this(oid, ','); 23 String oid, 26 this.value = oid; 16 X509NameTokenizer( String oid) argument 22 X509NameTokenizer( String oid, char seperator) argument
|
/external/bouncycastle/src/main/java/org/bouncycastle/jce/interfaces/ |
H A D | PKCS12BagAttributeCarrier.java | 14 DERObjectIdentifier oid, 18 DERObjectIdentifier oid); 13 setBagAttribute( DERObjectIdentifier oid, DEREncodable attribute) argument 17 getBagAttribute( DERObjectIdentifier oid) argument
|
/external/javassist/src/main/javassist/tools/rmi/ |
H A D | RemoteRef.java | 23 public int oid; field in class:RemoteRef 27 oid = i; 32 oid = i;
|
/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/asn1/der/ |
H A D | OidTest.java | 43 private static Object[][] oid = { field in class:OidTest 44 //oid array format: string / int array / DER encoding 121 // oid decoder/encoder for testing 125 for (int i = 0; i < oid.length; i++) { 128 (byte[]) oid[i][2])); 130 assertTrue("Failed to decode oid: " + oid[i][0], // error message 131 Arrays.equals((int[]) oid[i][1], // expected array 136 for (int i = 0; i < oid.length; i++) { 139 oid[ [all...] |
/external/bouncycastle/src/main/java/org/bouncycastle/asn1/nist/ |
H A D | NISTNamedCurves.java | 20 static void defineCurve(String name, DERObjectIdentifier oid) argument 22 objIds.put(name, oid); 23 names.put(oid, name); 45 DERObjectIdentifier oid = (DERObjectIdentifier)objIds.get(Strings.toUpperCase(name)); 47 if (oid != null) 49 return getByOID(oid); 59 * @param oid an object identifier representing a named curve, if present. 62 DERObjectIdentifier oid) 64 return SECNamedCurves.getByOID(oid); 83 DERObjectIdentifier oid) 61 getByOID( DERObjectIdentifier oid) argument 82 getName( DERObjectIdentifier oid) argument [all...] |
/external/bouncycastle/src/main/java/org/bouncycastle/asn1/pkcs/ |
H A D | SafeBag.java | 20 DERObjectIdentifier oid, 23 this.bagId = oid; 29 DERObjectIdentifier oid, 33 this.bagId = oid; 19 SafeBag( DERObjectIdentifier oid, DERObject obj) argument 28 SafeBag( DERObjectIdentifier oid, DERObject obj, ASN1Set bagAttributes) argument
|
/external/bouncycastle/src/main/java/org/bouncycastle/asn1/x500/ |
H A D | RDN.java | 38 * @param oid 41 public RDN(ASN1ObjectIdentifier oid, ASN1Encodable value) argument 45 v.add(oid);
|
H A D | X500NameBuilder.java | 18 public X500NameBuilder addRDN(ASN1ObjectIdentifier oid, String value) argument 20 this.addRDN(oid, template.stringToValue(oid, value)); 25 public X500NameBuilder addRDN(ASN1ObjectIdentifier oid, ASN1Encodable value) argument 27 rdns.addElement(new RDN(oid, value));
|
H A D | X500NameStyle.java | 19 * @param oid the oid associated with the value in the DN. 23 ASN1Encodable stringToValue(ASN1ObjectIdentifier oid, String value); argument
|
/external/bouncycastle/src/main/java/org/bouncycastle/asn1/x500/style/ |
H A D | X500NameTokenizer.java | 17 String oid) 19 this(oid, ','); 23 String oid, 26 this.value = oid; 16 X500NameTokenizer( String oid) argument 22 X500NameTokenizer( String oid, char seperator) argument
|
/external/bouncycastle/src/main/java/org/bouncycastle/jce/provider/asymmetric/ |
H A D | EC.java | 102 DERObjectIdentifier oid) 113 put("Alg.Alias.Signature." + oid, mainName); 114 put("Alg.Alias.Signature.OID." + oid, mainName); 98 addSignatureAlgorithm( String digest, String algorithm, String className, DERObjectIdentifier oid) argument
|
/external/bouncycastle/src/main/java/org/bouncycastle/x509/ |
H A D | X509Attribute.java | 29 * Create an X.509 Attribute with the type given by the passed in oid and 32 * @param oid type of the attribute 36 String oid, 39 this.attr = new Attribute(new DERObjectIdentifier(oid), new DERSet(value)); 43 * Create an X.59 Attribute with the type given by the passed in oid and the 46 * @param oid type of the attribute 50 String oid, 53 this.attr = new Attribute(new DERObjectIdentifier(oid), new DERSet(value)); 35 X509Attribute( String oid, ASN1Encodable value) argument 49 X509Attribute( String oid, ASN1EncodableVector value) argument
|
H A D | X509AttributeCertificate.java | 72 * Return the attributes with the same type as the passed in oid. 74 * @param oid the object identifier we wish to match. 77 public X509Attribute[] getAttributes(String oid); argument
|
/external/wpa_supplicant_8/hostapd/src/tls/ |
H A D | pkcs8.c | 30 struct asn1_oid oid; local 87 if (asn1_get_oid(hdr.payload, hdr.length, &oid, &pos)) { 93 asn1_oid_to_str(&oid, obuf, sizeof(obuf)); 96 if (oid.len != 7 || 97 oid.oid[0] != 1 /* iso */ || 98 oid.oid[1] != 2 /* member-body */ || 99 oid.oid[ [all...] |
/external/wpa_supplicant_8/src/tls/ |
H A D | pkcs8.c | 30 struct asn1_oid oid; local 87 if (asn1_get_oid(hdr.payload, hdr.length, &oid, &pos)) { 93 asn1_oid_to_str(&oid, obuf, sizeof(obuf)); 96 if (oid.len != 7 || 97 oid.oid[0] != 1 /* iso */ || 98 oid.oid[1] != 2 /* member-body */ || 99 oid.oid[ [all...] |
/external/wpa_supplicant_8/wpa_supplicant/src/tls/ |
H A D | pkcs8.c | 30 struct asn1_oid oid; local 87 if (asn1_get_oid(hdr.payload, hdr.length, &oid, &pos)) { 93 asn1_oid_to_str(&oid, obuf, sizeof(obuf)); 96 if (oid.len != 7 || 97 oid.oid[0] != 1 /* iso */ || 98 oid.oid[1] != 2 /* member-body */ || 99 oid.oid[ [all...] |
/external/bouncycastle/src/main/java/org/bouncycastle/jce/provider/asymmetric/ec/ |
H A D | ECUtil.java | 165 DERObjectIdentifier oid = X962NamedCurves.getOID(name); 167 if (oid == null) 169 oid = SECNamedCurves.getOID(name); 170 if (oid == null) 172 oid = NISTNamedCurves.getOID(name); 175 // if (oid == null) 177 // oid = TeleTrusTNamedCurves.getOID(name); 179 // if (oid == null) 181 // oid = ECGOST3410NamedCurves.getOID(name); 186 return oid; 189 getNamedCurveByOid( DERObjectIdentifier oid) argument 212 getCurveName( DERObjectIdentifier oid) argument [all...] |
/external/openssl/crypto/asn1/ |
H A D | asn_moid.c | 114 ASN1_OBJECT *oid; local 153 oid = OBJ_nid2obj(nid); 154 oid->ln = lntmp;
|
/external/wpa_supplicant/ |
H A D | asn1.c | 88 int asn1_get_oid(const u8 *buf, size_t len, struct asn1_oid *oid, argument 96 os_memset(oid, 0, sizeof(*oid)); 121 if (oid->len >= ASN1_MAX_OID_LEN) { 125 if (oid->len == 0) { 131 oid->oid[0] = val / 40; 132 if (oid->oid[0] > 2) 133 oid 144 asn1_oid_to_str(struct asn1_oid *oid, char *buf, size_t len) argument [all...] |
H A D | asn1_test.c | 47 struct asn1_oid oid; local 127 if (asn1_get_oid(prev, end - prev, &oid, &prev) < 0) { 131 asn1_oid_to_str(&oid, str, sizeof(str));
|
/external/wpa_supplicant_6/wpa_supplicant/src/tls/ |
H A D | asn1.c | 88 int asn1_get_oid(const u8 *buf, size_t len, struct asn1_oid *oid, argument 96 os_memset(oid, 0, sizeof(*oid)); 121 if (oid->len >= ASN1_MAX_OID_LEN) { 125 if (oid->len == 0) { 131 oid->oid[0] = val / 40; 132 if (oid->oid[0] > 2) 133 oid 144 asn1_oid_to_str(struct asn1_oid *oid, char *buf, size_t len) argument [all...] |