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

1 2 3 4 5 6 7 8 91011>>

  /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...]
GSSManagerTest.java 78 public void addProviderAtEnd(Provider p, Oid mech) throws GSSException {
82 public void addProviderAtFront(Provider p, Oid mech)
99 public GSSContext createContext(GSSName peer, Oid mech,
107 Oid mech, int usage)
114 Oid[] mechs, int usage)
125 public GSSName createName(byte[] name, Oid nameType, Oid mech)
131 public GSSName createName(byte[] name, Oid nameType)
137 public GSSName createName(String nameStr, Oid nameType, Oid mech
    [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...]
  /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...]
AlgNameMapper.java 36 * Provides Algorithm Name to OID and OID to Algorithm Name mappings. Some known
45 // Will search OID mappings for these services
81 // Maps alg name to OID
83 // Maps OID to alg name
107 // Alg.Alias.<service>.<OID-INTS-DOT-SEPARATED>=<alg-name>
109 // Alg.Alias.<service>.OID.<OID-INTS-DOT-SEPARATED>=<alg-name>
120 * Returns OID for algName
123 * @return OID as Strin
    [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);
ASN1ObjectIdentifier.java 16 ASN1ObjectIdentifier(ASN1ObjectIdentifier oid, String branch)
18 super(oid, branch);
22 * Return an OID that creates a branch under the current one.
25 * @return the OID for the new created branch.
33 * Return true if this oid is an extension of the passed in branch, stem.
  /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...]
  /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...]
  /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/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/apache-harmony/auth/src/test/java/common/org/apache/harmony/auth/tests/jgss/
GSSManagerImplTest.java 25 import org.ietf.jgss.Oid;
34 Oid[] mechs = gssManager.getMechs();
35 Oid kerberosMech = new Oid("1.2.840.113554.1.2.2");
36 Oid[] expectedMechs = new Oid[]{kerberosMech};
41 Oid nameType = GSSName.NT_ANONYMOUS;
42 Oid[] mechs = gssManager.getMechsForName(nameType);
55 Oid kerberosMech = new Oid("1.2.840.113554.1.2.2")
    [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/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...]
X500NameBuilder.java 24 public X500NameBuilder addRDN(ASN1ObjectIdentifier oid, String value)
26 this.addRDN(oid, template.stringToValue(oid, value));
31 public X500NameBuilder addRDN(ASN1ObjectIdentifier oid, ASN1Encodable value)
33 rdns.addElement(new RDN(oid, value));
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/cms/
AttributeTable.java 59 ASN1ObjectIdentifier oid,
62 Object value = attributes.get(oid);
66 attributes.put(oid, a);
86 attributes.put(oid, v);
93 public Attribute get(DERObjectIdentifier oid)
95 return get(new ASN1ObjectIdentifier(oid.getId()));
99 * Return the first attribute matching the OBJECT IDENTIFIER oid.
101 * @param oid type of attribute required.
102 * @return first attribute found of type oid.
105 ASN1ObjectIdentifier oid)
    [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...]
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/x509/
X509Attribute.java 30 * Create an X.509 Attribute with the type given by the passed in oid and
33 * @param oid type of the attribute
37 String oid,
40 this.attr = new Attribute(new ASN1ObjectIdentifier(oid), new DERSet(value));
44 * Create an X.59 Attribute with the type given by the passed in oid and the
47 * @param oid type of the attribute
51 String oid,
54 this.attr = new Attribute(new ASN1ObjectIdentifier(oid), new DERSet(value));
  /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...]

Completed in 1388 milliseconds

1 2 3 4 5 6 7 8 91011>>