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

12345

/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
/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.java17 String oid)
19 this(oid, ',');
23 String oid,
26 this.value = oid;
16 X509NameTokenizer( String oid) argument
22 X509NameTokenizer( String oid, char seperator) argument
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jce/interfaces/
H A DPKCS12BagAttributeCarrier.java15 ASN1ObjectIdentifier oid,
19 DERObjectIdentifier oid);
14 setBagAttribute( ASN1ObjectIdentifier oid, ASN1Encodable attribute) argument
18 getBagAttribute( DERObjectIdentifier 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.c93 ** given tNFC_VS_CBACK as (oid).
95 ** Parameters oid - The opcode of the VS command.
101 tNFC_STATUS NFC_SendVsCommand (UINT8 oid, argument
136 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);
45 ASN1ObjectIdentifier oid = (ASN1ObjectIdentifier)objIds.get(Strings.toUpperCase(name));
47 if (oid != null)
49 return getByOID(oid);
59 * @param oid an object identifier representing a named curve, if present.
62 ASN1ObjectIdentifier oid)
64 return SECNamedCurves.getByOID(oid);
83 ASN1ObjectIdentifier oid)
61 getByOID( ASN1ObjectIdentifier oid) argument
82 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.java18 public X500NameBuilder addRDN(ASN1ObjectIdentifier oid, String value) argument
20 this.addRDN(oid, template.stringToValue(oid, value));
25 public X500NameBuilder addRDN(ASN1ObjectIdentifier oid, ASN1Encodable value) argument
27 rdns.addElement(new RDN(oid, value));
H A DRDN.java39 * @param oid RDN type.
42 public RDN(ASN1ObjectIdentifier oid, ASN1Encodable value) argument
46 v.add(oid);
H A DX500NameStyle.java19 * @param oid the oid associated with the value in the DN.
23 ASN1Encodable stringToValue(ASN1ObjectIdentifier oid, String value); argument
/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 seperator) argument
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/
H A DRSA.java198 ASN1ObjectIdentifier oid)
216 if (oid != null)
218 provider.addAlgorithm("Alg.Alias.Signature." + oid, mainName);
219 provider.addAlgorithm("Alg.Alias.Signature.OID." + oid, mainName);
194 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 DERObjectIdentifier oid,
31 super(algorithm, oid);
22 PBESecretKeyFactory( String algorithm, DERObjectIdentifier oid, boolean forCipher, int scheme, int digest, int keySize, int ivSize) argument
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/util/
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/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/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...]
/external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/cert/
H A DX509CRLEntryHolder.java86 * @param oid the OID of the extension of interest.
90 public Extension getExtension(ASN1ObjectIdentifier oid) argument
96 return extensions.getExtension(oid);

Completed in 364 milliseconds

12345