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

1 2 3 4 5 6

  /external/avahi/avahi-compat-howl/
browse-domain-test.c 35 AVAHI_GCC_UNUSED sw_discovery_oid oid,
65 sw_discovery_oid oid; local
69 ASSERT_SW_OKAY(sw_discovery_browse_domains(discovery, 0, reply, NULL, &oid));
  /external/avahi/avahi-compat-howl/samples/
query.c 37 sw_discovery_oid oid,
77 sw_discovery_oid oid; local
89 err = sw_discovery_query_record(discovery, 0, 0, argv[1], atoi(argv[2]), atoi(argv[3]), query_record_reply, NULL, &oid);
browse.c 37 sw_discovery_oid oid,
56 sw_discovery_cancel(discovery, oid);
83 sw_discovery_oid oid,
163 sw_discovery_oid oid; local
175 err = sw_discovery_browse(discovery, 0, argv[1], NULL, my_browser, NULL, &oid);
resolve.c 37 sw_discovery_oid oid,
56 sw_discovery_cancel(discovery, oid);
90 sw_discovery_oid oid; local
102 err = sw_discovery_resolve(discovery, 0, argv[1], argv[2], "local.", my_resolver, NULL, &oid);
  /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
17 * @param oid the string representation of the OID.
20 String oid)
22 this.oid = oid;
49 int end = oid.indexOf('.', index);
53 token = oid.substring(index);
58 token = oid.substring(index, end)
    [all...]
  /bootable/recovery/tests/unit/
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/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",
  /libcore/ojluni/src/main/java/sun/security/x509/
OIDName.java 43 private ObjectIdentifier oid; field in class:OIDName
52 oid = derValue.getOID();
60 public OIDName(ObjectIdentifier oid) {
61 this.oid = oid;
65 * Create the OIDName from the String form of the OID
72 oid = new ObjectIdentifier(name);
86 * Encode the OID name into the DerOutputStream.
92 out.putOID(oid);
99 return ("OIDName: " + oid.toString())
    [all...]
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/nist/
NISTNamedCurves.java 20 static void defineCurveAlias(String name, ASN1ObjectIdentifier oid)
22 objIds.put(name.toUpperCase(), oid); local
23 names.put(oid, name);
50 ASN1ObjectIdentifier oid = getOID(name); local
51 return oid == null ? null : getByOID(oid);
58 * @param oid an object identifier representing a named curve, if present.
61 ASN1ObjectIdentifier oid)
63 return SECNamedCurves.getByOID(oid);
82 ASN1ObjectIdentifier oid)
    [all...]
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/x9/
ECNamedCurveTable.java 68 ASN1ObjectIdentifier oid = X962NamedCurves.getOID(name); local
70 if (oid == null)
72 oid = SECNamedCurves.getOID(name);
75 if (oid == null)
77 oid = NISTNamedCurves.getOID(name);
81 // if (oid == null)
83 // oid = TeleTrusTNamedCurves.getOID(name);
86 // if (oid == null)
88 // oid = ANSSINamedCurves.getOID(name);
92 return 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 99 String oid = cert.getSigAlgOID(); local
101 if (oid.equals(blacklisted)) {
102 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
  /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 277 ASN1ObjectIdentifier oid = X962NamedCurves.getOID(name); local
279 if (oid == null)
281 oid = SECNamedCurves.getOID(name);
282 if (oid == null)
284 oid = NISTNamedCurves.getOID(name);
287 // if (oid == null)
289 // oid = TeleTrusTNamedCurves.getOID(name);
291 // if (oid == null)
293 // oid = ECGOST3410NamedCurves.getOID(name);
295 // if (oid == null
    [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));
279 ASN1ObjectIdentifier oid = (ASN1ObjectIdentifier)e.nextElement(); local
280 Extension ext = extensions.getExtension(oid);
288 if (oid.equals(Extension.reasonCode)
    [all...]
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jce/provider/
X509CRLEntryObject.java 144 ASN1ObjectIdentifier oid = (ASN1ObjectIdentifier) e.nextElement(); local
145 Extension ext = extensions.getExtension(oid);
149 set.add(oid.getId());
169 private Extension getExtension(ASN1ObjectIdentifier oid)
175 return exts.getExtension(oid);
181 public byte[] getExtensionValue(String oid)
183 Extension ext = getExtension(new ASN1ObjectIdentifier(oid));
280 ASN1ObjectIdentifier oid = (ASN1ObjectIdentifier)e.nextElement(); local
281 Extension ext = extensions.getExtension(oid);
289 if (oid.equals(X509Extension.reasonCode)
    [all...]
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/x509/
X509V2AttributeCertificate.java 208 public byte[] getExtensionValue(String oid)
214 Extension ext = extensions.getExtension(new ASN1ObjectIdentifier(oid));
244 ASN1ObjectIdentifier oid = (ASN1ObjectIdentifier)e.nextElement(); local
245 Extension ext = extensions.getExtension(oid);
249 set.add(oid.getId());
289 public X509Attribute[] getAttributes(String oid)
297 if (attr.getOID().equals(oid))
  /external/boringssl/src/crypto/x509v3/
pcy_tree.c 88 ASN1_OBJECT *oid; local
92 oid = sk_ASN1_OBJECT_value(pset, i);
95 i2a_ASN1_OBJECT(err, oid);
434 ASN1_OBJECT *oid = sk_ASN1_OBJECT_value(expset, i); local
435 if (level_find_node(curr, node, oid))
437 if (!tree_add_unmatched(curr, cache, oid, node, tree))
642 ASN1_OBJECT *oid; local
658 oid = sk_ASN1_OBJECT_value(policy_oids, i);
659 if (OBJ_obj2nid(oid) == NID_any_policy)
668 oid = sk_ASN1_OBJECT_value(policy_oids, i)
    [all...]
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/x509/
Extensions.java 47 * The extensions are a list of constructed sequences, either with (OID, OctetString) or (OID, Boolean, OctetString)
108 ASN1ObjectIdentifier oid)
110 return (Extension)extensions.get(oid);
119 public ASN1Encodable getExtensionParsedValue(ASN1ObjectIdentifier oid)
121 Extension ext = this.getExtension(oid);
148 ASN1ObjectIdentifier oid = (ASN1ObjectIdentifier)e.nextElement(); local
149 Extension ext = (Extension)extensions.get(oid);
201 Object oid = ordering.elementAt(i); local
203 if (((Extension)extensions.get(oid)).isCritical() == isCritical
    [all...]

Completed in 307 milliseconds

1 2 3 4 5 6