/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/bcprov/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/chromium_org/net/cert/ |
x509_util_mac.h | 67 const CSSM_OID* oid, 71 CSSM_OID_PTR oid() const { return oid_; } function in class:net::x509_util::CSSMFieldValue 86 CSSM_OID_PTR oid, 125 // If |field_oid| is a valid OID and is present in the current certificate,
|
/external/chromium_org/third_party/openssl/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/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_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...] |
/libcore/crypto/src/main/java/org/conscrypt/ |
ChainStrengthAnalyzer.java | 50 String oid = cert.getSigAlgOID(); local 52 if (oid.equals(blacklisted)) {
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jce/provider/ |
X509CRLEntryObject.java | 143 ASN1ObjectIdentifier oid = (ASN1ObjectIdentifier) e.nextElement(); local 144 Extension ext = extensions.getExtension(oid); 148 set.add(oid.getId()); 168 private Extension getExtension(ASN1ObjectIdentifier oid) 174 return exts.getExtension(oid); 180 public byte[] getExtensionValue(String oid) 182 Extension ext = getExtension(new ASN1ObjectIdentifier(oid)); 262 ASN1ObjectIdentifier oid = (ASN1ObjectIdentifier)e.nextElement(); local 263 Extension ext = extensions.getExtension(oid); 271 if (oid.equals(X509Extension.reasonCode) [all...] |
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/nist/ |
NISTNamedCurves.java | 20 static void defineCurve(String name, ASN1ObjectIdentifier oid) 22 objIds.put(name, oid); 23 names.put(oid, name); 48 ASN1ObjectIdentifier oid = (ASN1ObjectIdentifier)objIds.get(Strings.toUpperCase(name)); local 50 if (oid != null) 52 return getByOID(oid); 62 * @param oid an object identifier representing a named curve, if present. 65 ASN1ObjectIdentifier oid) 67 return SECNamedCurves.getByOID(oid); 86 ASN1ObjectIdentifier oid) [all...] |
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/util/ |
PrivateKeyFactory.java | 140 ASN1ObjectIdentifier oid = ASN1ObjectIdentifier.getInstance(params.getParameters()); local 141 x9 = X962NamedCurves.getByOID(oid); 145 x9 = SECNamedCurves.getByOID(oid); 149 x9 = NISTNamedCurves.getByOID(oid); 154 // x9 = TeleTrusTNamedCurves.getByOID(oid);
|
/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...] |
/libcore/luni/src/test/java/org/apache/harmony/security/tests/ |
AlgNameMapperTest.java | 95 String oid = AlgNameMapper.map2OID(algName); local 96 assertNotNull(oid); 97 assertEquals(NON_HARDCODED_ALIASES[i][0], oid);
|
/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
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/util/ |
ECUtil.java | 223 ASN1ObjectIdentifier oid = X962NamedCurves.getOID(name); local 225 if (oid == null) 227 oid = SECNamedCurves.getOID(name); 228 if (oid == null) 230 oid = NISTNamedCurves.getOID(name); 233 // if (oid == null) 235 // oid = TeleTrusTNamedCurves.getOID(name); 237 // if (oid == null) 239 // oid = ECGOST3410NamedCurves.getOID(name); 244 return oid; [all...] |
/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 * Parses OID string representation. 186 * string representation of OID 189 * if OID can not be created from its string representation 209 private final ObjectIdentifier oid; field in class:AttributeTypeAndValue 215 private AttributeTypeAndValue(int[] oid, AttributeValue value) throws IOException { 216 ObjectIdentifier thisOid = getOID(oid); 218 thisOid = new ObjectIdentifier(oid); 220 this.oid = thisOid; 225 * Creates AttributeTypeAndValue with OID and AttributeValue [all...] |
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/x509/ |
X509CRLEntryObject.java | 143 ASN1ObjectIdentifier oid = (ASN1ObjectIdentifier) e.nextElement(); local 144 Extension ext = extensions.getExtension(oid); 148 set.add(oid.getId()); 168 private Extension getExtension(ASN1ObjectIdentifier oid) 174 return exts.getExtension(oid); 180 public byte[] getExtensionValue(String oid) 182 Extension ext = getExtension(new ASN1ObjectIdentifier(oid)); 262 ASN1ObjectIdentifier oid = (ASN1ObjectIdentifier)e.nextElement(); local 263 Extension ext = extensions.getExtension(oid); 271 if (oid.equals(X509Extension.reasonCode) [all...] |