HomeSort by relevance Sort by last modified time
    Searched defs:oid (Results 1 - 25 of 108) sorted by null

1 2 3 4 5

  /external/javassist/src/main/javassist/tools/rmi/
RemoteRef.java 23 public int oid; field in class:RemoteRef
27 oid = i;
32 oid = i;
  /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);
  /bootable/recovery/tests/
asn1_decoder_test.cpp 71 uint8_t* oid; local
73 EXPECT_FALSE(asn1_oid_get(ptr, &oid, &length));
84 uint8_t* oid; local
86 ASSERT_TRUE(asn1_oid_get(ptr, &oid, &length));
88 EXPECT_EQ(0x01U, *oid);
106 uint8_t* oid; local
108 ASSERT_TRUE(asn1_oid_get(ctx, &oid, &length));
110 EXPECT_EQ(0xA5U, *oid);
126 uint8_t* oid; local
128 EXPECT_FALSE(asn1_oid_get(ptr, &oid, &length))
138 uint8_t* oid; local
159 uint8_t* oid; local
171 uint8_t* oid; local
183 uint8_t* oid; local
192 uint8_t* oid; local
201 uint8_t* oid; local
    [all...]
  /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/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/x9/
ECNamedCurveTable.java 59 ASN1ObjectIdentifier oid = X962NamedCurves.getOID(name); local
61 if (oid == null)
63 oid = SECNamedCurves.getOID(name);
67 // if (oid == null)
69 // oid = TeleTrusTNamedCurves.getOID(name);
73 if (oid == null)
75 oid = NISTNamedCurves.getOID(name);
78 return oid;
85 * @param oid the object id of the curve requested
89 ASN1ObjectIdentifier oid)
    [all...]
  /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...]
pkcs1.c 206 struct asn1_oid oid; local
266 if (asn1_get_oid(hdr.payload, hdr.length, &oid, &next)) {
273 if (!asn1_oid_equal(&oid, hash_alg)) {
275 asn1_oid_to_str(&oid, txt, sizeof(txt));
278 "PKCS #1: Hash alg OID mismatch: was %s, expected %s",
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/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 138 ASN1ObjectIdentifier oid = (ASN1ObjectIdentifier)params.getParameters(); local
140 x9 = CustomNamedCurves.getByOID(oid);
143 x9 = ECNamedCurveTable.getByOID(oid);
146 oid, x9.getCurve(), x9.getG(), x9.getN(), x9.getH(), x9.getSeed());
  /external/conscrypt/src/main/java/org/conscrypt/
ChainStrengthAnalyzer.java 82 String oid = cert.getSigAlgOID(); local
84 if (oid.equals(blacklisted)) {
85 throw new CertificateException("Signature uses an insecure hash function: " + oid);
  /external/wpa_supplicant_8/src/utils/
http-utils.h 15 char *oid; member in struct:http_othername
  /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 245 ASN1ObjectIdentifier oid = X962NamedCurves.getOID(name); local
247 if (oid == null)
249 oid = SECNamedCurves.getOID(name);
250 if (oid == null)
252 oid = NISTNamedCurves.getOID(name);
255 // if (oid == null)
257 // oid = TeleTrusTNamedCurves.getOID(name);
259 // if (oid == null)
261 // oid = ECGOST3410NamedCurves.getOID(name);
266 return oid;
    [all...]
  /external/openssh/
ssh-rsa.c 206 0x06, 0x05, /* type OID, length 0x05 */
207 0x2b, 0x0e, 0x03, 0x02, 0x1a, /* id-sha1 OID */
218 const u_char *oid = NULL; local
224 oid = id_sha1;
254 oidmatch = timingsafe_bcmp(decrypted, oid, oidlen) == 0;
  /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 142 ASN1ObjectIdentifier oid = (ASN1ObjectIdentifier) e.nextElement(); local
143 Extension ext = extensions.getExtension(oid);
147 set.add(oid.getId());
167 private Extension getExtension(ASN1ObjectIdentifier oid)
173 return exts.getExtension(oid);
179 public byte[] getExtensionValue(String oid)
181 Extension ext = getExtension(new ASN1ObjectIdentifier(oid));
278 ASN1ObjectIdentifier oid = (ASN1ObjectIdentifier)e.nextElement(); local
279 Extension ext = extensions.getExtension(oid);
287 if (oid.equals(Extension.reasonCode)
    [all...]
  /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));
279 ASN1ObjectIdentifier oid = (ASN1ObjectIdentifier)e.nextElement(); local
280 Extension ext = extensions.getExtension(oid);
288 if (oid.equals(X509Extension.reasonCode)
    [all...]

Completed in 1389 milliseconds

1 2 3 4 5