/external/javassist/src/main/javassist/tools/rmi/ |
RemoteRef.java | 23 public int oid; field in class:RemoteRef 27 oid = i; 32 oid = i;
|
/external/apache-harmony/auth/src/test/java/common/org/ietf/jgss/ |
GSSNameTest.java | 31 Oid oid= new Oid("1.3.6.1.5.6.3"); local 32 assertTrue(oid.equals(GSSName.NT_ANONYMOUS)); 36 Oid oid= new Oid("1.3.6.1.5.6.4"); local 37 assertTrue(oid.equals(GSSName.NT_EXPORT_NAME)); 41 Oid oid= new Oid("1.3.6.1.5.6.2") local 46 Oid oid= new Oid("1.2.840.113554.1.2.1.2"); local 51 Oid oid= new Oid("1.2.840.113554.1.2.1.3"); local 56 Oid oid= new Oid("1.2.840.113554.1.2.1.1"); local [all...] |
OidTest.java | 29 * Tests Oid class 79 Oid oid1 = new Oid(strOid); 80 Oid oid2 = new Oid(enc); 81 Oid oid3 = new Oid(new ByteArrayInputStream(enc)); 105 * @tests org.ieft.jgss.Oid#containedIn(org.ieft.jgss.Oid[]) 108 Oid oid= new Oid("1.2.1.2.1") local 241 Oid oid = new Oid(encoding); local 270 Oid oid = new Oid(in); local 317 Oid oid = new Oid("1.2.840.113554.1.2.2"); local [all...] |
/external/bouncycastle/src/main/java/org/bouncycastle/asn1/ |
OIDTokenizer.java | 4 * class for breaking up an OID into it's component tokens, ala 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);
|
/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/asn1/der/ |
OidTest.java | 36 * ASN.1 DER test for OID type 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++) [all...] |
/external/openssl/crypto/asn1/ |
asn_moid.c | 67 /* Simple ASN1 OID module: add all objects in a given section */ 105 /* Create an OID based on a name value pair. Accept two formats. 114 ASN1_OBJECT *oid; local 153 oid = OBJ_nid2obj(nid); 154 oid->ln = lntmp;
|
/external/wpa_supplicant_6/wpa_supplicant/src/tls/ |
asn1_test.c | 47 struct asn1_oid oid; local 127 if (asn1_get_oid(prev, end - prev, &oid, &prev) < 0) { 128 wpa_printf(MSG_DEBUG, "ASN.1: Invalid OID"); 131 asn1_oid_to_str(&oid, str, sizeof(str)); 132 wpa_printf(MSG_DEBUG, "ASN.1:%s OID %s", prefix, str); 136 wpa_hexdump(MSG_MSGDUMP, "ASN.1: Relative OID",
|
/external/wpa_supplicant_8/src/tls/ |
pkcs8.c | 24 struct asn1_oid oid; local 81 if (asn1_get_oid(hdr.payload, hdr.length, &oid, &pos)) { 82 wpa_printf(MSG_DEBUG, "PKCS #8: Failed to parse OID " 87 asn1_oid_to_str(&oid, obuf, sizeof(obuf)); 90 if (oid.len != 7 || 91 oid.oid[0] != 1 /* iso */ || 92 oid.oid[1] != 2 /* member-body */ || 93 oid.oid[2] != 840 /* us */ | [all...] |
pkcs5.c | 29 static enum pkcs5_alg pkcs5_get_alg(struct asn1_oid *oid) 31 if (oid->len == 7 && 32 oid->oid[0] == 1 /* iso */ && 33 oid->oid[1] == 2 /* member-body */ && 34 oid->oid[2] == 840 /* us */ && 35 oid->oid[3] == 113549 /* rsadsi */ & 50 struct asn1_oid oid; local [all...] |
/external/bouncycastle/src/main/java/org/bouncycastle/jce/provider/ |
X509CRLEntryObject.java | 138 DERObjectIdentifier oid = (DERObjectIdentifier) e.nextElement(); local 139 X509Extension ext = extensions.getExtension(oid); 143 set.add(oid.getId()); 163 public byte[] getExtensionValue(String oid) 169 X509Extension ext = exts.getExtension(new DERObjectIdentifier(oid)); 250 DERObjectIdentifier oid = (DERObjectIdentifier)e.nextElement(); local 251 X509Extension ext = extensions.getExtension(oid); 259 if (oid.equals(X509Extensions.ReasonCode)) 263 else if (oid.equals(X509Extensions.CertificateIssuer)) 269 buf.append(oid.getId()) [all...] |
JCEPBEKey.java | 16 DERObjectIdentifier oid; field in class:JCEPBEKey 30 DERObjectIdentifier oid, 39 this.oid = oid; 139 return oid;
|
PKCS12BagAttributeCarrierImpl.java | 35 DERObjectIdentifier oid, 38 if (pkcs12Attributes.containsKey(oid)) 40 pkcs12Attributes.put(oid, attribute); 44 pkcs12Attributes.put(oid, attribute); 45 pkcs12Ordering.addElement(oid); 50 DERObjectIdentifier oid) 52 return (DEREncodable)pkcs12Attributes.get(oid); 92 DERObjectIdentifier oid = (DERObjectIdentifier)e.nextElement(); local 94 aOut.writeObject(oid); 95 aOut.writeObject(pkcs12Attributes.get(oid)); 116 DERObjectIdentifier oid; local [all...] |
/external/bouncycastle/src/main/java/org/bouncycastle/asn1/nist/ |
NISTNamedCurves.java | 20 static void defineCurve(String name, DERObjectIdentifier oid) 22 objIds.put(name, oid); 23 names.put(oid, name); 45 DERObjectIdentifier oid = (DERObjectIdentifier)objIds.get(Strings.toUpperCase(name)); local 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) [all...] |
/external/bouncycastle/src/main/java/org/bouncycastle/crypto/util/ |
PrivateKeyFactory.java | 145 DERObjectIdentifier oid = (DERObjectIdentifier)params.getParameters(); local 146 X9ECParameters ecP = X962NamedCurves.getByOID(oid); 150 ecP = SECNamedCurves.getByOID(oid); 154 ecP = NISTNamedCurves.getByOID(oid); 159 // ecP = TeleTrusTNamedCurves.getByOID(oid);
|
PublicKeyFactory.java | 182 DERObjectIdentifier oid = (DERObjectIdentifier)params.getParameters(); local 183 X9ECParameters ecP = X962NamedCurves.getByOID(oid); 187 ecP = SECNamedCurves.getByOID(oid); 191 ecP = NISTNamedCurves.getByOID(oid); 196 // ecP = TeleTrusTNamedCurves.getByOID(oid);
|
/external/bouncycastle/src/main/java/org/bouncycastle/jce/provider/asymmetric/ec/ |
ECUtil.java | 165 DERObjectIdentifier oid = X962NamedCurves.getOID(name); local 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; [all...] |
/libcore/luni/src/main/java/org/apache/harmony/security/asn1/ |
ObjectIdentifier.java | 28 * Instance of this class represents ObjectIdentifier (OID). 31 * OID is represented as a sequence of subidentifier. 43 /** OID as array of integers */ 44 private final int[] oid; field in class:ObjectIdentifier 46 /** OID as string */ 50 * Creates ObjectIdentifier(OID) from array of integers. 52 * @param oid array of integers 53 * @throws IllegalArgumentException if oid is invalid or null 55 public ObjectIdentifier(int[] oid) { 56 validate(oid); 243 int[] oid = new int[count]; local [all...] |
ASN1Oid.java | 79 int[] oid = new int[oidElement]; local 80 for (int id = 1, i = 0; id < oid.length; id++, i++) { 88 oid[id] = oidElement; 90 // Special handling for the first packed OID element 91 if (oid[1] > 79) { 92 oid[0] = 2; 93 oid[1] = oid[1] - 80; 95 oid[0] = oid[1] / 40 106 int[] oid = (int[]) out.content; local [all...] |
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/cert/ |
X509CRL2Test.java | 53 String oid = (String) i.next(); local 54 byte[] value = pemCert.getExtensionValue(oid); 57 assertTrue("The extension value for the oid " + oid
|
X509CRLEntry2Test.java | 53 String oid = (String) i.next(); local 54 byte[] value = pemCert.getExtensionValue(oid); 57 assertTrue("The extension value for the oid " + oid
|
X509Certificate2Test.java | 51 String oid = (String) i.next(); local 52 byte[] value = pemCert.getExtensionValue(oid); 55 assertEquals("The extension value for the oid " + oid
|
/libcore/luni/src/main/java/org/apache/harmony/security/pkcs7/ |
ContentInfo.java | 53 private final int[] oid; field in class:ContentInfo 57 private ContentInfo(int[] oid, Object content, byte[] encoding) { 58 this.oid = oid; 64 if (Arrays.equals(oid, SIGNED_DATA)) { 75 return oid; 91 res.append("\n== ContentType (OID): "); 92 for (int i : oid) { 117 values[0] = ci.oid; 119 if (Arrays.equals(ci.oid, DATA)) [all...] |
/libcore/luni/src/main/java/org/apache/harmony/security/utils/ |
ObjectIdentifier.java | 27 * Instance of this class represents ObjectIdentifier (OID). 29 * OID is represented as a sequence of subidentifier. 42 //OID as array of integers 43 private final int[] oid; field in class:ObjectIdentifier 48 //OID as string 51 // stores the following: "OID." + soid 54 // OID alias name 57 // OID's group 61 * Creates ObjectIdentifier(OID) from array of integers. 63 * @param oid - array of integer [all...] |
/libcore/luni/src/main/java/org/apache/harmony/security/x501/ |
AttributeTypeAndValue.java | 172 //don't add DNQUALIFIER because it has the same oid as DNQ 183 private final ObjectIdentifier oid; field in class:AttributeTypeAndValue 189 private AttributeTypeAndValue(int[] oid, AttributeValue value) throws IOException { 190 ObjectIdentifier thisOid = getOID(oid); 192 thisOid = new ObjectIdentifier(oid); 194 this.oid = thisOid; 199 * Creates AttributeTypeAndValue with OID and AttributeValue. Parses OID 203 * string representation of OID 207 * if OID can not be created from its string representatio [all...] |
/external/bouncycastle/src/main/java/org/bouncycastle/x509/ |
X509V2AttributeCertificate.java | 207 public byte[] getExtensionValue(String oid) 213 X509Extension ext = extensions.getExtension(new DERObjectIdentifier(oid)); 243 DERObjectIdentifier oid = (DERObjectIdentifier)e.nextElement(); local 244 X509Extension ext = extensions.getExtension(oid); 248 set.add(oid.getId()); 288 public X509Attribute[] getAttributes(String oid) 296 if (attr.getOID().equals(oid))
|