Home
last modified time | relevance | path

Searched refs:oid (Results 1 – 25 of 48) sorted by relevance

12

/libcore/ojluni/src/main/java/sun/security/x509/
DOIDName.java43 private ObjectIdentifier oid; field in OIDName
52 oid = derValue.getOID(); in OIDName()
60 public OIDName(ObjectIdentifier oid) { in OIDName() argument
61 this.oid = oid; in OIDName()
72 oid = new ObjectIdentifier(name); in OIDName()
92 out.putOID(oid); in encode()
99 return ("OIDName: " + oid.toString()); in toString()
106 return oid; in getOID()
123 return oid.equals((Object)other.oid); in equals()
132 return oid.hashCode(); in hashCode()
DAlgorithmId.java95 public AlgorithmId(ObjectIdentifier oid) { in AlgorithmId() argument
96 algid = oid; in AlgorithmId()
105 public AlgorithmId(ObjectIdentifier oid, AlgorithmParameters algparams) { in AlgorithmId() argument
106 algid = oid; in AlgorithmId()
111 private AlgorithmId(ObjectIdentifier oid, DerValue params) in AlgorithmId() argument
113 this.algid = oid; in AlgorithmId()
415 ObjectIdentifier oid; in get() local
417 oid = algOID(algname); in get()
423 if (oid == null) { in get()
427 return new AlgorithmId(oid); in get()
[all …]
DOIDMap.java176 private static void addInternal(String name, ObjectIdentifier oid, in addInternal() argument
178 OIDInfo info = new OIDInfo(name, oid, clazz); in addInternal()
179 oidMap.put(oid, info); in addInternal()
188 final ObjectIdentifier oid; field in OIDMap.OIDInfo
192 OIDInfo(String name, ObjectIdentifier oid, Class<?> clazz) { in OIDInfo() argument
194 this.oid = oid; in OIDInfo()
217 public static void addAttribute(String name, String oid, Class<?> clazz) in addAttribute() argument
221 objId = new ObjectIdentifier(oid); in addAttribute()
224 ("Invalid Object identifier: " + oid); in addAttribute()
229 ("Object identifier already exists: " + oid); in addAttribute()
[all …]
DAVA.java87 final ObjectIdentifier oid; field in AVA
121 oid = type; in AVA()
189 oid = AVAKeyword.getOID(temp.toString(), format, keywordMap); in AVA()
229 return oid; in getObjectIdentifier()
379 if (this.oid.equals((Object)PKCS9Attribute.EMAIL_ADDRESS_OID) || in parseQuotedString()
380 (this.oid.equals((Object)X500Name.DOMAIN_COMPONENT_OID) && in parseQuotedString()
520 if (this.oid.equals((Object)PKCS9Attribute.EMAIL_ADDRESS_OID) || in parseString()
521 (this.oid.equals((Object)X500Name.DOMAIN_COMPONENT_OID) && in parseString()
624 oid = X500Name.intern(derval.data.getOID()); in AVA()
678 tmp.putOID(oid); in derEncode()
[all …]
DExtendedKeyUsageExtension.java207 for (ObjectIdentifier oid: keyUsages) { in toString()
212 String result = map.get(oid); in toString()
216 usage += oid.toString(); in toString()
307 for (ObjectIdentifier oid : keyUsages) { in getExtendedKeyUsage()
308 al.add(oid.toString()); in getExtendedKeyUsage()
DX509CRLEntryImpl.java395 public byte[] getExtensionValue(String oid) { in getExtensionValue() argument
399 String extAlias = OIDMap.getName(new ObjectIdentifier(oid)); in getExtensionValue()
403 ObjectIdentifier findOID = new ObjectIdentifier(oid); in getExtensionValue()
437 public Extension getExtension(ObjectIdentifier oid) { in getExtension() argument
443 return extensions.get(OIDMap.getName(oid)); in getExtension()
DX509CertImpl.java1053 ObjectIdentifier oid = algId.getOID(); in getSigAlgOID()
1054 return (oid.toString()); in getSigAlgOID()
1346 public Extension getExtension(ObjectIdentifier oid) { in getExtension() argument
1360 Extension ex = extensions.getExtension(oid.toString()); in getExtension()
1365 if (ex2.getExtensionId().equals((Object)oid)) { in getExtension()
1378 public Extension getUnparseableExtension(ObjectIdentifier oid) { in getUnparseableExtension() argument
1392 return extensions.getUnparseableExtensions().get(oid.toString()); in getUnparseableExtension()
1405 public byte[] getExtensionValue(String oid) { in getExtensionValue() argument
1407 ObjectIdentifier findOID = new ObjectIdentifier(oid); in getExtensionValue()
1435 certExt = exts.getUnparseableExtensions().get(oid); in getExtensionValue()
DRDN.java325 DerValue findAttribute(ObjectIdentifier oid) { in findAttribute() argument
327 if (assertion[i].oid.equals((Object)oid)) { in findAttribute()
/libcore/ojluni/src/main/java/sun/security/pkcs/
DPKCS9Attributes.java159 ObjectIdentifier oid; in PKCS9Attributes() local
161 oid = attribs[i].getOID(); in PKCS9Attributes()
162 if (attributes.containsKey(oid)) in PKCS9Attributes()
168 attributes.put(oid, attribs[i]); in PKCS9Attributes()
198 ObjectIdentifier oid; in decode() local
214 oid = attrib.getOID(); in decode()
216 if (attributes.get(oid) != null) in decode()
217 throw new IOException("Duplicate PKCS9 attribute: " + oid); in decode()
220 !permittedAttributes.containsKey(oid)) in decode()
221 throw new IOException("Attribute " + oid + in decode()
[all …]
DPKCS9Attribute.java395 private ObjectIdentifier oid; field in PKCS9Attribute
424 public PKCS9Attribute(ObjectIdentifier oid, Object value) in PKCS9Attribute() argument
426 init(oid, value); in PKCS9Attribute()
447 ObjectIdentifier oid = getOID(name); in PKCS9Attribute() local
449 if (oid == null) in PKCS9Attribute()
454 init(oid, value); in PKCS9Attribute()
457 private void init(ObjectIdentifier oid, Object value) in init() argument
460 this.oid = oid; in init()
461 index = indexOf(oid, PKCS9_OIDS, 1); in init()
466 " for attribute " + oid + in init()
[all …]
DPKCS7.java302 DerValue oid = digestAlgorithmIdVals[i]; in parseSignedData() local
303 digestAlgorithmIds[i] = AlgorithmId.parse(oid); in parseSignedData()
437 DerValue oid = digestAlgorithmIdVals[i]; in parseOldSignedData() local
438 digestAlgorithmIds[i] = AlgorithmId.parse(oid); in parseOldSignedData()
855 public byte[] getExtensionValue(String oid) { in getExtensionValue() argument
856 return wrapped.getExtensionValue(oid); in getExtensionValue()
/libcore/ojluni/annotations/hiddenapi/sun/security/x509/
DAVAKeyword.java27 sun.security.util.ObjectIdentifier oid, in AVAKeyword() argument
47 static java.lang.String getKeyword(sun.security.util.ObjectIdentifier oid, int standard) { in getKeyword() argument
52 sun.security.util.ObjectIdentifier oid, in getKeyword() argument
58 static boolean hasKeyword(sun.security.util.ObjectIdentifier oid, int standard) { in hasKeyword() argument
71 @UnsupportedAppUsage private sun.security.util.ObjectIdentifier oid; field in AVAKeyword
DOIDMap.java40 java.lang.String name, sun.security.util.ObjectIdentifier oid, java.lang.Class clazz) { in addInternal() argument
45 java.lang.String name, java.lang.String oid, java.lang.Class<?> clazz) in addAttribute() argument
50 public static java.lang.String getName(sun.security.util.ObjectIdentifier oid) { in getName() argument
64 public static java.lang.Class<?> getClass(sun.security.util.ObjectIdentifier oid) in getClass() argument
160 sun.security.util.ObjectIdentifier oid, in OIDInfo() argument
177 final sun.security.util.ObjectIdentifier oid; field in OIDMap.OIDInfo
180 oid = null;
DAlgorithmId.java41 public AlgorithmId(sun.security.util.ObjectIdentifier oid) { in AlgorithmId() argument
47 sun.security.util.ObjectIdentifier oid, java.security.AlgorithmParameters algparams) { in AlgorithmId() argument
51 private AlgorithmId(sun.security.util.ObjectIdentifier oid, sun.security.util.DerValue params) in AlgorithmId() argument
153 private static sun.security.util.ObjectIdentifier oid(int... values) { in oid() method in AlgorithmId
DX509CRLEntryImpl.java116 public byte[] getExtensionValue(java.lang.String oid) { in getExtensionValue() argument
121 public sun.security.x509.Extension getExtension(sun.security.util.ObjectIdentifier oid) { in getExtension() argument
/libcore/luni/src/test/java/tests/security/cert/
DX509CRL2Test.java91 String oid = i.next(); in test_getExtensionValueLjava_lang_String() local
92 byte[] value = pemCert.getExtensionValue(oid); in test_getExtensionValueLjava_lang_String()
95 assertTrue("The extension value for the oid " + oid in test_getExtensionValueLjava_lang_String()
207 public byte[] getExtensionValue(String oid) { in getExtensionValue() argument
/libcore/ojluni/src/main/java/java/security/cert/
DCertificateRevokedException.java237 String oid = (String) ois.readObject(); in readObject() local
243 (new ObjectIdentifier(oid), critical, extVal); in readObject()
244 extensions.put(oid, ext); in readObject()
DX509Extension.java185 public byte[] getExtensionValue(String oid); in getExtensionValue() argument
/libcore/luni/src/test/java/libcore/sun/security/x509/
DAlgorithmIdTest.java82 private String getOidName(String oid) throws Exception { in getOidName() argument
83 return new AlgorithmId(new ObjectIdentifier(oid)).getName(); in getOidName()
/libcore/ojluni/src/main/java/sun/security/util/
DObjectIdentifier.java141 public ObjectIdentifier (String oid) throws IOException in ObjectIdentifier() argument
148 byte[] tmp = new byte[oid.length()]; in ObjectIdentifier()
156 end = oid.indexOf(ch,start); in ObjectIdentifier()
158 comp = oid.substring(start); in ObjectIdentifier()
159 length = oid.length() - start; in ObjectIdentifier()
161 comp = oid.substring(start,end); in ObjectIdentifier()
201 this.stringForm = oid; in ObjectIdentifier()
/libcore/ojluni/annotations/hiddenapi/sun/security/pkcs/
DPKCS9Attribute.java33 public PKCS9Attribute(sun.security.util.ObjectIdentifier oid, java.lang.Object value) in PKCS9Attribute() argument
49 private void init(sun.security.util.ObjectIdentifier oid, java.lang.Object value) in init() argument
85 public static java.lang.String getName(sun.security.util.ObjectIdentifier oid) { in getName() argument
278 private sun.security.util.ObjectIdentifier oid; field in PKCS9Attribute
DPKCS9Attributes.java74 public sun.security.pkcs.PKCS9Attribute getAttribute(sun.security.util.ObjectIdentifier oid) { in getAttribute() argument
88 public java.lang.Object getAttributeValue(sun.security.util.ObjectIdentifier oid) in getAttributeValue() argument
/libcore/ojluni/src/main/java/sun/security/provider/certpath/
DPKIXMasterCertPathValidator.java106 for (String oid : unresCritExts) { in validate()
107 joiner.add(oid); in validate()
DPolicyNodeImpl.java391 private static String policyToString(String oid) { in policyToString() argument
392 if (oid.equals(ANY_POLICY)) { in policyToString()
395 return oid; in policyToString()
/libcore/luni/src/test/java/libcore/java/security/spec/
DAlgorithmParametersPSSTest.java209 private static void addDigestOid(String algorithm, String oid) { in addDigestOid() argument
210 DIGEST_OID_TO_NAME.put(oid, algorithm); in addDigestOid()
211 DIGEST_NAME_TO_OID.put(algorithm, oid); in addDigestOid()

12