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

1 2 3 4 5 6 7 8 9

  /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);
DERObjectIdentifier.java 20 DERObjectIdentifier(ASN1ObjectIdentifier oid, String branch)
22 super(oid, branch);
  /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/conscrypt/src/compat/java/org/apache/harmony/security/utils/
AlgNameMapper.java 25 public static String map2AlgName(String oid) {
26 return NativeCrypto.OBJ_txt2nid_longName(oid);
AlgNameMapperSource.java 26 public String mapOidToName(String oid);
  /external/wpa_supplicant_8/hs20/server/ca/
est-csrattrs.sh 3 openssl asn1parse -genconf est-csrattrs.cnf -out est-csrattrs.der -oid hs20.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/wpa_supplicant_8/src/tls/
asn1.c 15 .oid = { 1, 3, 14, 3, 2, 26 },
20 .oid = { 2, 16, 840, 1, 101, 3, 4, 2, 1 },
90 int asn1_parse_oid(const u8 *buf, size_t len, struct asn1_oid *oid)
96 os_memset(oid, 0, sizeof(*oid));
111 if (oid->len >= ASN1_MAX_OID_LEN) {
112 wpa_printf(MSG_DEBUG, "ASN.1: Too long OID value");
115 if (oid->len == 0) {
121 oid->oid[0] = val / 40
    [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
1590 struct asn1_oid oid; local
    [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/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/x509/
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...]
X509ExtensionsGenerator.java 31 * Add an extension with the given oid and the passed in value to be included
34 * @param oid OID for the extension.
39 ASN1ObjectIdentifier oid,
45 this.addExtension(oid, critical, value.toASN1Primitive().getEncoded(ASN1Encoding.DER));
54 * Add an extension with the given oid and the passed in byte array to be wrapped in the
57 * @param oid OID for the extension.
62 ASN1ObjectIdentifier oid,
66 if (extensions.containsKey(oid))
    [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/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 35 ASN1ObjectIdentifier oid,
38 if (pkcs12Attributes.containsKey(oid))
40 pkcs12Attributes.put(oid, attribute);
44 pkcs12Attributes.put(oid, attribute);
45 pkcs12Ordering.addElement(oid);
50 ASN1ObjectIdentifier oid)
52 return (ASN1Encodable)pkcs12Attributes.get(oid);
92 ASN1ObjectIdentifier oid = (ASN1ObjectIdentifier)e.nextElement(); local
94 aOut.writeObject(oid);
95 aOut.writeObject((ASN1Encodable)pkcs12Attributes.get(oid));
116 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...]

Completed in 2680 milliseconds

1 2 3 4 5 6 7 8 9