/libcore/luni/src/test/java/libcore/sun/security/x509/ |
H A D | AlgorithmIdTest.java | 82 private String getOidName(String oid) throws Exception { argument 83 return new AlgorithmId(new ObjectIdentifier(oid)).getName();
|
/libcore/ojluni/src/main/java/java/security/cert/ |
H A D | X509Extension.java | 97 * for (String oid : critSet) { 98 * System.out.println(oid); 133 * for (String oid : nonCritSet) { 134 * System.out.println(oid); 148 * (<em>extnValue</em>) identified by the passed-in {@code oid} 150 * The {@code oid} string is 181 * @param oid the Object Identifier value for the extension. 185 public byte[] getExtensionValue(String oid); argument
|
/libcore/ojluni/src/main/java/sun/security/x509/ |
H A D | OIDName.java | 43 private ObjectIdentifier oid; field in class:OIDName 52 oid = derValue.getOID(); 60 public OIDName(ObjectIdentifier oid) { argument 61 this.oid = oid; 72 oid = new ObjectIdentifier(name); 92 out.putOID(oid); 99 return ("OIDName: " + oid.toString()); 106 return oid; 123 return oid [all...] |
H A D | OtherName.java | 52 private ObjectIdentifier oid; field in class:OtherName 64 * @param oid ObjectIdentifier of this OtherName object 68 public OtherName(ObjectIdentifier oid, byte[] value) throws IOException { argument 69 if (oid == null || value == null) { 72 this.oid = oid; 74 gni = getGNI(oid, value); 78 name = "Unrecognized ObjectIdentifier: " + oid.toString(); 91 oid = in.getOID(); 94 gni = getGNI(oid, nameValu 120 getGNI(ObjectIdentifier oid, byte[] nameValue) argument [all...] |
H A D | CertificateExtensions.java | 242 public String getNameByOid(ObjectIdentifier oid) throws IOException { argument 244 if (map.get(name).getExtensionId().equals((Object)oid)) {
|
H A D | RDN.java | 322 * @params oid ObjectIdentifier of attribute to be found 325 DerValue findAttribute(ObjectIdentifier oid) { argument 327 if (assertion[i].oid.equals((Object)oid)) { 451 // followed by the oid type AVA's numerically
|
H A D | OIDMap.java | 109 /** Map ObjectIdentifier(oid) -> OIDInfo(info) */ 176 private static void addInternal(String name, ObjectIdentifier oid, argument 178 OIDInfo info = new OIDInfo(name, oid, clazz); 179 oidMap.put(oid, info); 188 final ObjectIdentifier oid; field in class:OIDMap.OIDInfo 192 OIDInfo(String name, ObjectIdentifier oid, Class<?> clazz) { argument 194 this.oid = oid; 212 * @param oid the string representation of the object identifier for 217 public static void addAttribute(String name, String oid, Clas argument 243 getName(ObjectIdentifier oid) argument 277 getClass(ObjectIdentifier oid) argument [all...] |
H A D | X509CRLEntryImpl.java | 346 * @return a set of the extension oid strings in the 367 * @return a set of the extension oid strings in the 385 * (<em>extnValue</em>) identified by the passed in oid String. 386 * The <code>oid</code> string is 392 * @param oid the Object Identifier value for the extension. 395 public byte[] getExtensionValue(String oid) { argument 399 String extAlias = OIDMap.getName(new ObjectIdentifier(oid)); 403 ObjectIdentifier findOID = new ObjectIdentifier(oid); 434 * @param oid ObjectIdentifier of extension desired 437 public Extension getExtension(ObjectIdentifier oid) { argument [all...] |
H A D | AVA.java | 87 final ObjectIdentifier oid; field in class:AVA 121 oid = type; 189 oid = AVAKeyword.getOID(temp.toString(), format, keywordMap); 229 return oid; 379 if (this.oid.equals((Object)PKCS9Attribute.EMAIL_ADDRESS_OID) || 380 (this.oid.equals((Object)X500Name.DOMAIN_COMPONENT_OID) && 520 if (this.oid.equals((Object)PKCS9Attribute.EMAIL_ADDRESS_OID) || 521 (this.oid.equals((Object)X500Name.DOMAIN_COMPONENT_OID) && 624 oid = X500Name.intern(derval.data.getOID()); 678 tmp.putOID(oid); 1199 private ObjectIdentifier oid; field in class:AVAKeyword 1202 AVAKeyword(String keyword, ObjectIdentifier oid, boolean rfc1779Compliant, boolean rfc2253Compliant) argument 1288 getKeyword(ObjectIdentifier oid, int standard) argument 1299 getKeyword(ObjectIdentifier oid, int standard, Map<String, String> extraOidMap) argument 1341 hasKeyword(ObjectIdentifier oid, int standard) argument [all...] |
H A D | AlgorithmId.java | 92 * @param oid the identifier for the algorithm 94 public AlgorithmId(ObjectIdentifier oid) { argument 95 algid = oid; 101 * @param oid the identifier for the algorithm. 104 public AlgorithmId(ObjectIdentifier oid, AlgorithmParameters algparams) { argument 105 algid = oid; 110 private AlgorithmId(ObjectIdentifier oid, DerValue params) argument 112 this.algid = oid; 408 ObjectIdentifier oid; 410 oid 649 private static ObjectIdentifier oid(int ... values) { method in class:AlgorithmId [all...] |
H A D | X509CRLImpl.java | 797 * @return the signature algorithm oid string. 802 ObjectIdentifier oid = sigAlgId.getOID(); 803 return oid.toString(); 961 * @return a set of the extension oid strings in the 982 * @return a set of the extension oid strings in the 1000 * (<code>extnValue</code>) identified by the passed in oid String. 1001 * The <code>oid</code> string is 1006 * @param oid the Object Identifier value for the extension. 1009 public byte[] getExtensionValue(String oid) { argument 1013 String extAlias = OIDMap.getName(new ObjectIdentifier(oid)); 1051 getExtension(ObjectIdentifier oid) argument [all...] |
/libcore/luni/src/test/java/tests/security/cert/ |
H A D | X509CRLEntryTest.java | 57 public byte[] getExtensionValue(String oid) { argument
|
H A D | X509CRL2Test.java | 91 String oid = i.next(); 92 byte[] value = pemCert.getExtensionValue(oid); 95 assertTrue("The extension value for the oid " + oid 207 public byte[] getExtensionValue(String oid) { argument
|
H A D | X509CRLSelector2Test.java | 559 public byte[] getExtensionValue(String oid) { argument 560 if ("2.5.29.20".equals(oid) && (crlNumber != null)) {
|
H A D | X509CRLTest.java | 96 public byte[] getExtensionValue(String oid) { argument
|
H A D | X509Certificate2Test.java | 262 public byte[] getExtensionValue(String oid) { argument
|
/libcore/ojluni/src/main/java/sun/security/pkcs/ |
H A D | PKCS9Attributes.java | 159 ObjectIdentifier oid; 161 oid = attribs[i].getOID(); 162 if (attributes.containsKey(oid)) 168 attributes.put(oid, attribs[i]); 198 ObjectIdentifier oid; 214 oid = attrib.getOID(); 216 if (attributes.get(oid) != null) 217 throw new IOException("Duplicate PKCS9 attribute: " + oid); 220 !permittedAttributes.containsKey(oid)) 221 throw new IOException("Attribute " + oid 264 getAttribute(ObjectIdentifier oid) argument 297 getAttributeValue(ObjectIdentifier oid) argument [all...] |
H A D | PKCS9Attribute.java | 395 private ObjectIdentifier oid; field in class:PKCS9Attribute 424 public PKCS9Attribute(ObjectIdentifier oid, Object value) argument 426 init(oid, value); 447 ObjectIdentifier oid = getOID(name); 449 if (oid == null) 454 init(oid, value); 457 private void init(ObjectIdentifier oid, Object value) argument 460 this.oid = oid; 461 index = indexOf(oid, PKCS9_OID 785 getName(ObjectIdentifier oid) argument [all...] |
H A D | PKCS7.java | 300 DerValue oid = digestAlgorithmIdVals[i]; 301 digestAlgorithmIds[i] = AlgorithmId.parse(oid); 435 DerValue oid = digestAlgorithmIdVals[i]; 436 digestAlgorithmIds[i] = AlgorithmId.parse(oid); 849 public byte[] getExtensionValue(String oid) { argument 850 return wrapped.getExtensionValue(oid);
|
/libcore/luni/src/test/java/libcore/java/security/spec/ |
H A D | AlgorithmParametersPSSTest.java | 218 private static void addDigestOid(String algorithm, String oid) { argument 219 DIGEST_OID_TO_NAME.put(oid, algorithm); 220 DIGEST_NAME_TO_OID.put(algorithm, oid);
|
/libcore/support/src/test/java/org/apache/harmony/security/tests/support/cert/ |
H A D | MyCertificate.java | 153 public byte[] getExtensionValue(String oid) { argument
|
/libcore/ojluni/src/main/java/sun/security/provider/certpath/ |
H A D | PolicyNodeImpl.java | 391 private static String policyToString(String oid) { argument 392 if (oid.equals(ANY_POLICY)) { 395 return oid;
|
/libcore/ojluni/src/main/java/sun/security/util/ |
H A D | DerOutputStream.java | 291 public void putOID(ObjectIdentifier oid) throws IOException { argument 292 oid.encode(this);
|
H A D | ObjectIdentifier.java | 142 public ObjectIdentifier (String oid) throws IOException argument 149 byte[] tmp = new byte[oid.length()]; 157 end = oid.indexOf(ch,start); 159 comp = oid.substring(start); 160 length = oid.length() - start; 162 comp = oid.substring(start,end); 202 this.stringForm = oid; 328 * @deprecated Use equals((Object)oid) 627 "Must be at least two oid components "); 633 "First oid componen [all...] |
/libcore/luni/src/test/java/libcore/javax/net/ssl/ |
H A D | DefaultHostnameVerifierTest.java | 708 @Override public byte[] getExtensionValue(String oid) { argument
|