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

1 2 3 4 5 6 7 8 910

  /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/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...]
  /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/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...]
AlgNameMapperSource.java 26 public String mapOidToName(String 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/x509/
X509ExtensionsGenerator.java 35 DERObjectIdentifier oid,
39 addExtension(new ASN1ObjectIdentifier(oid.getId()), critical, value);
46 DERObjectIdentifier oid,
50 addExtension(new ASN1ObjectIdentifier(oid.getId()), critical, value);
54 * Add an extension with the given oid and the passed in value to be included
57 * @param oid OID for the extension.
62 ASN1ObjectIdentifier oid,
68 this.addExtension(oid, critical, value.toASN1Primitive().getEncoded(ASN1Encoding.DER));
77 * Add an extension with the given oid and the passed in byte array to be wrapped in th
    [all...]
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 ASN1ObjectIdentifier 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.equals(X509Name.SN) || oid.equals(X509Name.DN_QUALIFIER
    [all...]
ExtensionsGenerator.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 ASN1ObjectIdentifier oid,
43 this.addExtension(oid, critical, value.toASN1Primitive().getEncoded(ASN1Encoding.DER));
47 * Add an extension with the given oid and the passed in byte array to be wrapped in the
50 * @param oid OID for the extension.
55 ASN1ObjectIdentifier oid,
59 if (extensions.containsKey(oid))
    [all...]
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/util/
AsymmetricAlgorithmProvider.java 14 ASN1ObjectIdentifier oid)
25 provider.addAlgorithm("Alg.Alias.Signature." + oid, mainName);
26 provider.addAlgorithm("Alg.Alias.Signature.OID." + oid, mainName);
29 protected void registerOid(ConfigurableProvider provider, ASN1ObjectIdentifier oid, String name, AsymmetricKeyInfoConverter keyFactory)
31 provider.addAlgorithm("Alg.Alias.KeyFactory." + oid, name);
32 provider.addAlgorithm("Alg.Alias.KeyPairGenerator." + oid, name);
34 provider.addKeyInfoConverter(oid, keyFactory);
37 protected void registerOidAlgorithmParameters(ConfigurableProvider provider, ASN1ObjectIdentifier oid, String name)
39 provider.addAlgorithm("Alg.Alias.AlgorithmParameterGenerator." + oid, name)
    [all...]
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/idlelib/
RemoteObjectBrowser.py 5 oid = id(wrapper)
6 rpc.objecttable[oid] = wrapper
7 return oid
26 def __init__(self, sockio, oid):
28 self.oid = oid
31 value = rpc.MethodProxy(self.sockio, self.oid, name)
35 list = self.sockio.remotecall(self.oid, "_GetSubList", (), {})
36 return [StubObjectTreeItem(self.sockio, oid) for oid in list
    [all...]
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/idlelib/
RemoteObjectBrowser.py 5 oid = id(wrapper)
6 rpc.objecttable[oid] = wrapper
7 return oid
26 def __init__(self, sockio, oid):
28 self.oid = oid
31 value = rpc.MethodProxy(self.sockio, self.oid, name)
35 list = self.sockio.remotecall(self.oid, "_GetSubList", (), {})
36 return [StubObjectTreeItem(self.sockio, oid) for oid in list
    [all...]
  /external/wpa_supplicant_8/src/tls/
asn1.c 79 int asn1_parse_oid(const u8 *buf, size_t len, struct asn1_oid *oid)
85 os_memset(oid, 0, sizeof(*oid));
100 if (oid->len >= ASN1_MAX_OID_LEN) {
101 wpa_printf(MSG_DEBUG, "ASN.1: Too long OID value");
104 if (oid->len == 0) {
110 oid->oid[0] = val / 40;
111 if (oid->oid[0] > 2
    [all...]
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...]
x509v3.c 210 if (asn1_get_oid(pos, end - pos, &id->oid, &pos))
297 struct asn1_oid oid; local
356 if (asn1_get_oid(seq_pos, seq_end - seq_pos, &oid, &seq_pos)) {
378 if (oid.len == 4 &&
379 oid.oid[0] == 2 && oid.oid[1] == 5 && oid.oid[2] == 4)
1111 struct asn1_oid oid; local
1588 struct asn1_oid oid; local
    [all...]
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jce/interfaces/
PKCS12BagAttributeCarrier.java 14 ASN1ObjectIdentifier oid,
18 ASN1ObjectIdentifier oid);
  /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/jcajce/provider/asymmetric/util/
PKCS12BagAttributeCarrierImpl.java 36 ASN1ObjectIdentifier oid,
39 if (pkcs12Attributes.containsKey(oid))
41 pkcs12Attributes.put(oid, attribute);
45 pkcs12Attributes.put(oid, attribute);
46 pkcs12Ordering.addElement(oid);
51 ASN1ObjectIdentifier oid)
53 return (ASN1Encodable)pkcs12Attributes.get(oid);
93 DERObjectIdentifier oid = (DERObjectIdentifier)e.nextElement(); local
95 aOut.writeObject(oid);
96 aOut.writeObject((ASN1Encodable)pkcs12Attributes.get(oid));
117 ASN1ObjectIdentifier oid; local
    [all...]
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/x500/
X500NameStyle.java 19 * @param oid the OID associated with the value in the DN.
23 ASN1Encodable stringToValue(ASN1ObjectIdentifier oid, String value);
26 * Return the OID associated with the passed in name.
29 * @return an OID
65 * Return the display name for toString() associated with the OID.
67 * @param oid the OID of interest.
70 String oidToDisplayName(ASN1ObjectIdentifier oid);
73 * Return the acceptable names in a String DN that map to OID
    [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/openssh/
gss-genr.c 48 /* Check that the OID in a data stream matches that in the context */
52 return (ctx != NULL && ctx->oid != GSS_C_NO_OID &&
53 ctx->oid->length == len &&
54 memcmp(ctx->oid->elements, data, len) == 0);
57 /* Set the contexts OID from a data stream */
61 if (ctx->oid != GSS_C_NO_OID) {
62 xfree(ctx->oid->elements);
63 xfree(ctx->oid);
65 ctx->oid = xmalloc(sizeof(gss_OID_desc));
66 ctx->oid->length = len
    [all...]
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/x500/style/
X500NameTokenizer.java 17 String oid)
19 this(oid, ',');
23 String oid,
26 this.value = oid;
  /libcore/luni/src/main/java/java/security/cert/
X509Extension.java 39 * OID.
41 * @param oid
44 * if no extension for the specified OID can be found.
46 public byte[] getExtensionValue(String 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...]

Completed in 312 milliseconds

1 2 3 4 5 6 7 8 910