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

12

/dalvik/libcore/security/src/main/java/java/security/cert/
H A DX509Extension.java44 * @param oid
50 public byte[] getExtensionValue(String oid); argument
/dalvik/libcore/security/src/main/java/org/apache/harmony/security/x501/
H A DAttributeType.java38 public final ObjectIdentifier oid; field in class:AttributeType
42 public AttributeType(ObjectIdentifier oid, ASN1Type type) { argument
43 this.oid = oid;
/dalvik/libcore/security/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
/dalvik/libcore/security/src/main/java/org/bouncycastle/asn1/x509/
H A DX509DefaultEntryConverter.java19 * Apply default coversion for the given value depending on the oid
22 * @param oid the object identifier for the DN entry
27 DERObjectIdentifier oid,
38 throw new RuntimeException("can't recode value for oid " + oid.getId());
41 else if (oid.equals(X509Name.EmailAddress) || oid.equals(X509Name.DC))
45 else if (oid.equals(X509Name.DATE_OF_BIRTH))
26 getConvertedValue( DERObjectIdentifier oid, String value) argument
H A DAuthorityInformationAccess.java58 * create an AuthorityInformationAccess with the oid and location provided.
61 DERObjectIdentifier oid,
66 descriptions[0] = new AccessDescription(oid, location);
60 AuthorityInformationAccess( DERObjectIdentifier oid, GeneralName location) argument
H A DX509NameEntryConverter.java22 * DERObjectIdentifier oid,
29 * if (oid.equals(EmailAddress))
149 * @param oid the oid associated with the value in the DN.
153 public abstract DERObject getConvertedValue(DERObjectIdentifier 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
H A DAccessDescription.java56 * create an AccessDescription with the oid and location provided.
59 DERObjectIdentifier oid,
62 accessMethod = oid;
58 AccessDescription( DERObjectIdentifier oid, GeneralName location) argument
/dalvik/libcore/security/src/main/java/org/bouncycastle/jce/interfaces/
H A DPKCS12BagAttributeCarrier.java14 DERObjectIdentifier oid,
18 DERObjectIdentifier oid);
13 setBagAttribute( DERObjectIdentifier oid, DEREncodable attribute) argument
17 getBagAttribute( DERObjectIdentifier oid) argument
/dalvik/libcore/security/src/main/java/org/bouncycastle/asn1/pkcs/
H A DSafeBag.java20 DERObjectIdentifier oid,
23 this.bagId = oid;
29 DERObjectIdentifier oid,
33 this.bagId = oid;
19 SafeBag( DERObjectIdentifier oid, DERObject obj) argument
28 SafeBag( DERObjectIdentifier oid, DERObject obj, ASN1Set bagAttributes) argument
/dalvik/libcore/security/src/main/java/org/bouncycastle/jce/provider/
H A DBouncyCastleProvider.java728 DERObjectIdentifier oid)
732 put("Alg.Alias.Mac." + oid, mainName);
733 put("Alg.Alias.KeyGenerator." + oid, mainName);
982 // DERObjectIdentifier oid)
993 // put("Alg.Alias.Signature." + oid, mainName);
994 // put("Alg.Alias.Signature.OID." + oid, mainName);
726 addHMACAlias( String algorithm, DERObjectIdentifier oid) argument
H A DJCEDHPrivateKey.java138 DERObjectIdentifier oid,
141 pkcs12Attributes.put(oid, attribute);
142 pkcs12Ordering.addElement(oid);
146 DERObjectIdentifier oid)
148 return (DEREncodable)pkcs12Attributes.get(oid);
137 setBagAttribute( DERObjectIdentifier oid, DEREncodable attribute) argument
145 getBagAttribute( DERObjectIdentifier oid) argument
H A DJCEPBEKey.java16 DERObjectIdentifier oid; field in class:JCEPBEKey
30 DERObjectIdentifier oid,
39 this.oid = oid;
139 return oid;
28 JCEPBEKey( String algorithm, DERObjectIdentifier oid, int type, int digest, int keySize, int ivSize, PBEKeySpec pbeKeySpec, CipherParameters param) argument
H A DJCERSAPrivateKey.java104 DERObjectIdentifier oid,
107 pkcs12Attributes.put(oid, attribute);
108 pkcs12Ordering.addElement(oid);
112 DERObjectIdentifier oid)
114 return (DEREncodable)pkcs12Attributes.get(oid);
142 DERObjectIdentifier oid;
144 while ((oid = (DERObjectIdentifier)aIn.readObject()) != null)
146 this.setBagAttribute(oid, aIn.readObject());
173 DEREncodable oid = (DEREncodable)e.nextElement();
175 aOut.writeObject(oid);
103 setBagAttribute( DERObjectIdentifier oid, DEREncodable attribute) argument
111 getBagAttribute( DERObjectIdentifier oid) argument
[all...]
H A DJDKDSAPrivateKey.java122 DERObjectIdentifier oid,
125 pkcs12Attributes.put(oid, attribute);
126 pkcs12Ordering.addElement(oid);
130 DERObjectIdentifier oid)
132 return (DEREncodable)pkcs12Attributes.get(oid);
121 setBagAttribute( DERObjectIdentifier oid, DEREncodable attribute) argument
129 getBagAttribute( DERObjectIdentifier oid) argument
/dalvik/libcore/security/src/main/java/org/bouncycastle/x509/
H A DX509Attribute.java29 * 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));
35 X509Attribute( String oid, ASN1Encodable value) argument
49 X509Attribute( String oid, ASN1EncodableVector value) argument
/dalvik/libcore/security/src/main/java/org/apache/harmony/security/asn1/
H A DInformationObjectSet.java52 put(at.oid.getOid(), at);
55 public void put(int[] oid, Object object) { argument
57 int index = hashIntArray(oid) % capacity;
64 if (Arrays.equals(oid, list[i].oid)) {
73 list[i] = new Entry(oid, object);
76 public Object get(int[] oid) { argument
77 int index = hashIntArray(oid) % capacity;
82 if (Arrays.equals(oid, list[i].oid)) {
99 public int[] oid; field in class:InformationObjectSet.Entry
103 Entry(int[] oid, Object object) argument
[all...]
H A DObjectIdentifier.java47 private final int[] oid; field in class:ObjectIdentifier
55 * @param oid - array of integers
56 * @throws IllegalArgumentException - if oid is invalid or null
58 public ObjectIdentifier(int[] oid) { argument
59 validate(oid);
60 this.oid = oid;
66 * @param strOid - oid string
67 * @throws IllegalArgumentException - if oid string is invalid or null
70 this.oid
127 validate(int[] oid) argument
245 toString(int[] oid) argument
[all...]
/dalvik/libcore/security/src/main/java/org/bouncycastle/asn1/cms/
H A DAttributeTable.java45 DERObjectIdentifier oid,
48 Object value = attributes.get(oid);
52 attributes.put(oid, a);
72 attributes.put(oid, v);
77 * Return the first attribute matching the OBJECT IDENTIFIER oid.
79 * @param oid type of attribute required.
80 * @return first attribute found of type oid.
83 DERObjectIdentifier oid)
85 Object value = attributes.get(oid);
96 * Return all the attributes matching the OBJECT IDENTIFIER oid
44 addAttribute( DERObjectIdentifier oid, Attribute a) argument
82 get( DERObjectIdentifier oid) argument
102 getAll( DERObjectIdentifier oid) argument
[all...]
/dalvik/libcore/crypto/src/main/java/javax/crypto/
H A DEncryptedPrivateKeyInfo.java71 private String oid; field in class:EncryptedPrivateKeyInfo
101 // algName == oid now
103 // algName == name from map oid->name if mapping exists, or
104 // algName == oid if mapping does not exist
473 this.oid = AlgNameMapper.normalize(this.algName);
475 this.algName = AlgNameMapper.map2AlgName(this.oid);
479 this.algName = this.oid;
486 this.oid = AlgNameMapper.map2OID(this.algName);
487 if (this.oid == null) {
492 this.oid
[all...]
/dalvik/libcore/luni/src/main/java/org/apache/harmony/luni/util/
H A DOIDDatabase.java43 DBEntry oid;
47 // DBEntry oid = new DBEntry("1.2.840.113549.1.1.2");
49 // wireTogether(oid, alg);
53 oid = new DBEntry("1.2.840.113549.1.1.4");
55 wireTogether(oid, alg);
58 oid = new DBEntry("1.2.840.113549.1.1.5");
60 wireTogether(oid, alg);
63 oid = new DBEntry("1.2.840.10040.4.3");
65 wireTogether(oid, alg);
70 oid
112 getFirstAlgorithmForOID(String oid) argument
121 getAllAlgorithmsForOID(String oid) argument
[all...]
/dalvik/libcore/security/src/main/java/org/apache/harmony/security/pkcs7/
H A DContentInfo.java55 private int[] oid; field in class:ContentInfo
59 public ContentInfo(int[] oid, Object content) { argument
60 this.oid = oid;
64 private ContentInfo(int[] oid, Object content, byte[] encoding) { argument
65 this.oid = oid;
71 if (Arrays.equals(oid, SIGNED_DATA)) {
82 return oid;
99 for (int i = 0; i< oid
[all...]
/dalvik/libcore/security/src/main/java/org/apache/harmony/security/provider/cert/
H A DX509CRLEntryImpl.java162 public byte[] getExtensionValue(String oid) { argument
166 Extension ext = extensions.getExtensionByOID(oid);
/dalvik/libcore/security/src/main/java/org/apache/harmony/security/utils/
H A DAlgNameMapper.java153 * @param oid OID to be mapped
156 public static String map2AlgName(String oid) { argument
158 String algUC = oid2AlgMap.get(oid);
227 * Removes leading "OID." from oid String passed
229 * @param oid string that may contain leading "OID."
232 public static String normalize(String oid) { argument
233 return oid.startsWith("OID.") //$NON-NLS-1$
234 ? oid.substring(4)
235 : oid;
H A DObjectIdentifier.java45 private final int[] oid; field in class:ObjectIdentifier
65 * @param oid - array of integers
67 * @throws NullPointerException - if oid is null
68 * @throws IllegalArgumentException - if oid is invalid
70 public ObjectIdentifier(int[] oid) { argument
72 validateOid(oid);
74 this.oid = oid;
80 * @param oid - array of integers
84 * @throws NullPointerException - if oid i
87 ObjectIdentifier(int[] oid, String name, Object oidGroup) argument
190 validateOid(int[] oid) argument
[all...]

Completed in 316 milliseconds

12