/external/bouncycastle/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);
|
/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. 44 // OID as array of integers 45 private final int[] oid; field in class:ObjectIdentifier 47 // OID as string 51 * Creates ObjectIdentifier(OID) from array of integers. 53 * @param oid - array of integers 54 * @throws IllegalArgumentException - if oid is invalid or null 56 public ObjectIdentifier(int[] oid) { 57 validate(oid); 347 int[] oid = new int[count]; local [all...] |
InformationObjectSet.java | 51 put(at.oid.getOid(), at); 54 public void put(int[] oid, Object object) { 56 int index = hashIntArray(oid) % capacity; 57 // look for OID in the pool 63 if (Arrays.equals(oid, list[i].oid)) { 72 list[i] = new Entry(oid, object); 75 public Object get(int[] oid) { 76 int index = hashIntArray(oid) % capacity; 78 // look for OID in the poo 98 public int[] oid; field in class:InformationObjectSet.Entry [all...] |
ASN1Oid.java | 87 int[] oid = new int[oidElement]; local 88 for (int id = 1, i = 0; id < oid.length; id++, i++) { 96 oid[id] = oidElement; 98 // Special handling for the first packed OID element 99 if (oid[1] > 79) { 100 oid[0] = 2; 101 oid[1] = oid[1] - 80; 103 oid[0] = oid[1] / 40 120 int[] oid = (int[]) out.content; local [all...] |
ASN1OpenType.java | 31 * Represents ASN.1 open type that is defined by Oid 49 int[] oid = (int[]) in.get(key); local 50 if (oid == null) { 54 AttributeType attr = (AttributeType) pool.get(oid); 70 Object oid = super.decode(in); local 72 if (oid == null) { 75 in.put(this, oid); 77 return oid;
|
/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...] |
/libcore/luni/src/main/java/org/apache/harmony/security/x501/ |
AttributeType.java | 38 public final ObjectIdentifier oid; field in class:AttributeType 42 public AttributeType(ObjectIdentifier oid, ASN1Type type) { 43 this.oid = oid;
|
AttributeTypeAndValue.java | 106 // OID's pool 229 //don't add DNQUALIFIER because it has the same oid as DNQ 244 private final ObjectIdentifier oid; field in class:AttributeTypeAndValue 250 private AttributeTypeAndValue(int[] oid, AttributeValue value) 253 ObjectIdentifier thisOid = getOID(oid); 255 thisOid = new ObjectIdentifier(oid); 257 this.oid = thisOid; 262 * Creates AttributeTypeAndValue with OID and AttributeValue. Parses OID 266 * string representation of OID [all...] |
/external/bouncycastle/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 DERObjectIdentifier 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...] |
X509ExtensionsGenerator.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 DERObjectIdentifier oid, 44 this.addExtension(oid, critical, value.getDERObject().getEncoded(ASN1Encodable.DER)); 53 * Add an extension with the given oid and the passed in byte array to be wrapped in the 56 * @param oid OID for the extension. 61 DERObjectIdentifier oid, 65 if (extensions.containsKey(oid)) [all...] |
X509NameTokenizer.java | 17 String oid) 19 this(oid, ','); 23 String oid, 26 this.value = oid;
|
/external/wpa_supplicant/ |
asn1.c | 88 int asn1_get_oid(const u8 *buf, size_t len, struct asn1_oid *oid, 96 os_memset(oid, 0, sizeof(*oid)); 102 wpa_printf(MSG_DEBUG, "ASN.1: Expected OID - found class %d " 121 if (oid->len >= ASN1_MAX_OID_LEN) { 122 wpa_printf(MSG_DEBUG, "ASN.1: Too long OID value"); 125 if (oid->len == 0) { 131 oid->oid[0] = val / 40; 132 if (oid->oid[0] > 2 [all...] |
x509v3.c | 213 if (asn1_get_oid(pos, end - pos, &id->oid, &pos)) 300 struct asn1_oid oid; local 357 if (asn1_get_oid(seq_pos, seq_end - seq_pos, &oid, &seq_pos)) { 379 if (oid.len == 4 && 380 oid.oid[0] == 2 && oid.oid[1] == 5 && oid.oid[2] == 4) 849 struct asn1_oid oid; local 1311 struct asn1_oid oid; local [all...] |
asn1.h | 60 unsigned long oid[ASN1_MAX_OID_LEN]; member in struct:asn1_oid 66 int asn1_get_oid(const u8 *buf, size_t len, struct asn1_oid *oid, 68 void asn1_oid_to_str(struct asn1_oid *oid, char *buf, size_t len);
|
/external/wpa_supplicant_6/wpa_supplicant/src/tls/ |
asn1.c | 88 int asn1_get_oid(const u8 *buf, size_t len, struct asn1_oid *oid, 96 os_memset(oid, 0, sizeof(*oid)); 102 wpa_printf(MSG_DEBUG, "ASN.1: Expected OID - found class %d " 121 if (oid->len >= ASN1_MAX_OID_LEN) { 122 wpa_printf(MSG_DEBUG, "ASN.1: Too long OID value"); 125 if (oid->len == 0) { 131 oid->oid[0] = val / 40; 132 if (oid->oid[0] > 2 [all...] |
x509v3.c | 213 if (asn1_get_oid(pos, end - pos, &id->oid, &pos)) 300 struct asn1_oid oid; local 357 if (asn1_get_oid(seq_pos, seq_end - seq_pos, &oid, &seq_pos)) { 379 if (oid.len == 4 && 380 oid.oid[0] == 2 && oid.oid[1] == 5 && oid.oid[2] == 4) 849 struct asn1_oid oid; local 1326 struct asn1_oid oid; local [all...] |
asn1.h | 60 unsigned long oid[ASN1_MAX_OID_LEN]; member in struct:asn1_oid 66 int asn1_get_oid(const u8 *buf, size_t len, struct asn1_oid *oid, 68 void asn1_oid_to_str(struct asn1_oid *oid, char *buf, size_t len);
|
/external/bouncycastle/src/main/java/org/bouncycastle/jce/interfaces/ |
PKCS12BagAttributeCarrier.java | 14 DERObjectIdentifier oid, 18 DERObjectIdentifier oid);
|
/external/bouncycastle/src/main/java/org/bouncycastle/jce/provider/ |
PKCS12BagAttributeCarrierImpl.java | 43 DERObjectIdentifier oid, 48 pkcs12.put(oid, attribute); 53 DERObjectIdentifier oid) 56 return (DEREncodable)pkcs12.get(oid); 103 DERObjectIdentifier oid = (DERObjectIdentifier)e.nextElement(); local 105 aOut.writeObject(oid); 106 aOut.writeObject(pkcs12.get(oid)); 130 DERObjectIdentifier oid; local 132 while ((oid = (DERObjectIdentifier)aIn.readObject()) != null) 134 this.setBagAttribute(oid, aIn.readObject()) [all...] |
JCEPBEKey.java | 16 DERObjectIdentifier oid; field in class:JCEPBEKey 30 DERObjectIdentifier oid, 39 this.oid = oid; 139 return oid;
|
/libcore/luni/src/main/java/org/apache/harmony/security/pkcs7/ |
ContentInfo.java | 54 private int[] oid; field in class:ContentInfo 58 public ContentInfo(int[] oid, Object content) { 59 this.oid = oid; 63 private ContentInfo(int[] oid, Object content, byte[] encoding) { 64 this.oid = oid; 70 if (Arrays.equals(oid, SIGNED_DATA)) { 81 return oid; 97 res.append("\n== ContentType (OID): ") [all...] |
/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);
|
/external/tcpdump/ |
makemib | 52 * struct mib somename = { desc, oid-octet, type, child-pointer, next-pointer 63 oid["iso"]=1 194 if (oid[parent] == "") { 200 if (oid[new] > 0 && oid[new] != value) { 202 inn(FILENAME), parent, new, value, oid[new] 208 if (oid[sib] == value) { 219 oid[new]=value 233 # newitem=sofar"."item"("oid[item]")" 246 item, item, oid[item], c, [all...] |
/external/bouncycastle/src/main/java/org/bouncycastle/asn1/pkcs/ |
SafeBag.java | 20 DERObjectIdentifier oid, 23 this.bagId = oid; 29 DERObjectIdentifier oid, 33 this.bagId = oid;
|
/external/bouncycastle/src/main/java/org/bouncycastle/x509/ |
X509Attribute.java | 29 * Create an X.509 Attribute with the type given by the passed in oid and 32 * @param oid type of the attribute 36 String oid, 39 this.attr = new Attribute(new DERObjectIdentifier(oid), new DERSet(value)); 43 * Create an X.59 Attribute with the type given by the passed in oid and the 46 * @param oid type of the attribute 50 String oid, 53 this.attr = new Attribute(new DERObjectIdentifier(oid), new DERSet(value));
|