/libcore/ojluni/src/main/java/sun/security/x509/ |
D | OIDName.java | 43 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()
|
D | OtherName.java | 52 private ObjectIdentifier oid; field in OtherName 68 public OtherName(ObjectIdentifier oid, byte[] value) throws IOException { in OtherName() argument 69 if (oid == null || value == null) { in OtherName() 72 this.oid = oid; in OtherName() 74 gni = getGNI(oid, value); in OtherName() 78 name = "Unrecognized ObjectIdentifier: " + oid.toString(); in OtherName() 91 oid = in.getOID(); in OtherName() 94 gni = getGNI(oid, nameValue); in OtherName() 98 name = "Unrecognized ObjectIdentifier: " + oid.toString(); in OtherName() 107 return oid; in getOID() [all …]
|
D | AlgorithmId.java | 94 public AlgorithmId(ObjectIdentifier oid) { in AlgorithmId() argument 95 algid = oid; in AlgorithmId() 104 public AlgorithmId(ObjectIdentifier oid, AlgorithmParameters algparams) { in AlgorithmId() argument 105 algid = oid; in AlgorithmId() 110 private AlgorithmId(ObjectIdentifier oid, DerValue params) in AlgorithmId() argument 112 this.algid = oid; in AlgorithmId() 408 ObjectIdentifier oid; in get() local 410 oid = algOID(algname); in get() 416 if (oid == null) { in get() 420 return new AlgorithmId(oid); in get() [all …]
|
D | OIDMap.java | 176 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 …]
|
D | AVA.java | 87 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 …]
|
D | ExtendedKeyUsageExtension.java | 207 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()
|
D | X509CRLEntryImpl.java | 395 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()
|
D | X509CertImpl.java | 1053 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()
|
/libcore/ojluni/src/main/java/sun/security/pkcs/ |
D | PKCS9Attributes.java | 159 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 …]
|
D | PKCS9Attribute.java | 395 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 …]
|
/libcore/ojluni/annotations/hiddenapi/sun/security/x509/ |
D | AVAKeyword.java | 27 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
|
D | OIDMap.java | 40 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;
|
D | AlgorithmId.java | 41 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
|
D | X509CRLEntryImpl.java | 116 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/ |
D | X509CRL2Test.java | 91 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/ |
D | CertificateRevokedException.java | 237 String oid = (String) ois.readObject(); in readObject() local 243 (new ObjectIdentifier(oid), critical, extVal); in readObject() 244 extensions.put(oid, ext); in readObject()
|
D | X509Extension.java | 185 public byte[] getExtensionValue(String oid); in getExtensionValue() argument
|
/libcore/ojluni/src/main/java/sun/security/util/ |
D | ObjectIdentifier.java | 142 public ObjectIdentifier (String oid) throws IOException in ObjectIdentifier() argument 149 byte[] tmp = new byte[oid.length()]; in ObjectIdentifier() 157 end = oid.indexOf(ch,start); in ObjectIdentifier() 159 comp = oid.substring(start); in ObjectIdentifier() 160 length = oid.length() - start; in ObjectIdentifier() 162 comp = oid.substring(start,end); in ObjectIdentifier() 202 this.stringForm = oid; in ObjectIdentifier()
|
/libcore/luni/src/test/java/libcore/sun/security/x509/ |
D | AlgorithmIdTest.java | 82 private String getOidName(String oid) throws Exception { in getOidName() argument 83 return new AlgorithmId(new ObjectIdentifier(oid)).getName(); in getOidName()
|
/libcore/ojluni/annotations/hiddenapi/sun/security/pkcs/ |
D | PKCS9Attribute.java | 33 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
|
D | PKCS9Attributes.java | 74 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/ |
D | PKIXMasterCertPathValidator.java | 106 for (String oid : unresCritExts) { in validate() 107 joiner.add(oid); in validate()
|
D | PolicyNodeImpl.java | 391 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/ |
D | AlgorithmParametersPSSTest.java | 209 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()
|
/libcore/ojluni/annotations/mmodule/java/sun/security/x509/ |
D | AlgorithmId.annotated.java | 40 public AlgorithmId(ObjectIdentifier oid) { in AlgorithmId() argument
|