Searched defs:oid (Results 1 - 25 of 138) sorted by relevance

123456

/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/
H A DOIDTokenizer.java11 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);
14 OIDTokenizer( String oid) argument
H A DASN1ObjectIdentifier.java16 ASN1ObjectIdentifier(ASN1ObjectIdentifier oid, String branch) argument
18 super(oid, branch);
33 * Return true if this oid is an extension of the passed in branch, stem.
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/x509/
H A DX509DefaultEntryConverter.java20 * 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
27 getConvertedValue( ASN1ObjectIdentifier oid, String value) argument
[all...]
H A DExtensionsGenerator.java30 * 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))
61 throw new IllegalArgumentException("extension " + oid + " already added");
64 extOrdering.addElement(oid);
37 addExtension( ASN1ObjectIdentifier oid, boolean critical, ASN1Encodable value) argument
54 addExtension( ASN1ObjectIdentifier oid, boolean critical, byte[] value) argument
[all...]
H A DX509ExtensionsGenerator.java35 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 the
80 * @param oid OI
34 addExtension( DERObjectIdentifier oid, boolean critical, ASN1Encodable value) argument
45 addExtension( DERObjectIdentifier oid, boolean critical, byte[] value) argument
61 addExtension( ASN1ObjectIdentifier oid, boolean critical, ASN1Encodable value) argument
84 addExtension( ASN1ObjectIdentifier oid, boolean critical, byte[] value) argument
[all...]
H A DX509NameEntryConverter.java23 * ASN1ObjectIdentifier oid,
30 * if (oid.equals(EmailAddress))
108 * @param oid the oid associated with the value in the DN.
112 public abstract ASN1Primitive getConvertedValue(ASN1ObjectIdentifier oid, String value); argument
H A DX509NameTokenizer.java18 String oid)
20 this(oid, ',');
24 String oid,
27 this.value = oid;
17 X509NameTokenizer( String oid) argument
23 X509NameTokenizer( String oid, char separator) argument
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/util/
H A DSecretKeyUtil.java29 public static int getKeySize(ASN1ObjectIdentifier oid) argument
31 Integer size = (Integer)keySizes.get(oid);
H A DAsymmetricAlgorithmProvider.java14 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) argument
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) argument
39 provider.addAlgorithm("Alg.Alias.AlgorithmParameterGenerator." + oid, name);
40 provider.addAlgorithm("Alg.Alias.AlgorithmParameters." + oid, nam
9 addSignatureAlgorithm( ConfigurableProvider provider, String digest, String algorithm, String className, ASN1ObjectIdentifier oid) argument
[all...]
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jce/interfaces/
H A DPKCS12BagAttributeCarrier.java14 ASN1ObjectIdentifier oid,
18 ASN1ObjectIdentifier oid);
13 setBagAttribute( ASN1ObjectIdentifier oid, ASN1Encodable attribute) argument
17 getBagAttribute( ASN1ObjectIdentifier oid) argument
/external/javassist/src/main/javassist/tools/rmi/
H A DRemoteRef.java23 public int oid; field in class:RemoteRef
27 oid = i;
32 oid = i;
/external/libnfc-nci/src/nfc/nfc/
H A Dnfc_vs.c94 ** given tNFC_VS_CBACK as (oid).
96 ** Parameters oid - The opcode of the VS command.
102 tNFC_STATUS NFC_SendVsCommand (UINT8 oid, argument
137 NCI_MSG_BLD_HDR1 (pp, oid);
/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/asn1/der/
H A DOidTest.java43 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++) {
139 oid[
[all...]
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/nist/
H A DNISTNamedCurves.java20 static void defineCurve(String name, ASN1ObjectIdentifier oid) argument
22 objIds.put(name, oid);
23 names.put(oid, name);
48 ASN1ObjectIdentifier oid = (ASN1ObjectIdentifier)objIds.get(Strings.toUpperCase(name));
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)
64 getByOID( ASN1ObjectIdentifier oid) argument
85 getName( ASN1ObjectIdentifier oid) argument
[all...]
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/pkcs/
H A DSafeBag.java22 ASN1ObjectIdentifier oid,
25 this.bagId = oid;
31 ASN1ObjectIdentifier oid,
35 this.bagId = oid;
21 SafeBag( ASN1ObjectIdentifier oid, ASN1Encodable obj) argument
30 SafeBag( ASN1ObjectIdentifier oid, ASN1Encodable obj, ASN1Set bagAttributes) argument
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/x500/
H A DX500NameBuilder.java24 public X500NameBuilder addRDN(ASN1ObjectIdentifier oid, String value) argument
26 this.addRDN(oid, template.stringToValue(oid, value));
31 public X500NameBuilder addRDN(ASN1ObjectIdentifier oid, ASN1Encodable value) argument
33 rdns.addElement(new RDN(oid, value));
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/x500/style/
H A DX500NameTokenizer.java17 String oid)
19 this(oid, ',');
23 String oid,
26 this.value = oid;
16 X500NameTokenizer( String oid) argument
22 X500NameTokenizer( String oid, char separator) argument
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/
H A DRSA.java194 ASN1ObjectIdentifier oid)
212 if (oid != null)
214 provider.addAlgorithm("Alg.Alias.Signature." + oid, mainName);
215 provider.addAlgorithm("Alg.Alias.Signature.OID." + oid, mainName);
190 addDigestSignature( ConfigurableProvider provider, String digest, String className, ASN1ObjectIdentifier oid) argument
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/digest/
H A DDigestAlgorithmProvider.java29 ASN1ObjectIdentifier oid)
33 provider.addAlgorithm("Alg.Alias.Mac." + oid, mainName);
34 provider.addAlgorithm("Alg.Alias.KeyGenerator." + oid, mainName);
26 addHMACAlias( ConfigurableProvider provider, String algorithm, ASN1ObjectIdentifier oid) argument
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/symmetric/util/
H A DPBESecretKeyFactory.java24 ASN1ObjectIdentifier oid,
31 super(algorithm, oid);
22 PBESecretKeyFactory( String algorithm, ASN1ObjectIdentifier oid, boolean forCipher, int scheme, int digest, int keySize, int ivSize) argument
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/x509/
H A DX509Attribute.java30 * 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));
36 X509Attribute( String oid, ASN1Encodable value) argument
50 X509Attribute( String oid, ASN1EncodableVector value) argument
/external/chromium_org/net/cert/
H A Dx509_util_mac.h67 const CSSM_OID* oid,
71 CSSM_OID_PTR oid() const { return oid_; } function in class:net::x509_util::CSSMFieldValue
86 CSSM_OID_PTR oid,
/external/wpa_supplicant_8/hostapd/src/tls/
H A Dpkcs8.c24 struct asn1_oid oid; local
81 if (asn1_get_oid(hdr.payload, hdr.length, &oid, &pos)) {
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[
[all...]
/external/wpa_supplicant_8/src/tls/
H A Dpkcs8.c24 struct asn1_oid oid; local
81 if (asn1_get_oid(hdr.payload, hdr.length, &oid, &pos)) {
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[
[all...]
/external/wpa_supplicant_8/wpa_supplicant/src/tls/
H A Dpkcs8.c24 struct asn1_oid oid; local
81 if (asn1_get_oid(hdr.payload, hdr.length, &oid, &pos)) {
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[
[all...]

Completed in 319 milliseconds

123456