Searched refs:oid (Results 1 - 25 of 34) sorted by relevance

12

/libcore/ojluni/src/main/java/sun/security/x509/
H A DOIDName.java43 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 DOtherName.java52 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 DOIDMap.java109 /** 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 DAlgorithmId.java92 * @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 DAVA.java87 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 DExtendedKeyUsageExtension.java207 for (ObjectIdentifier oid: keyUsages) {
212 String result = map.get(oid);
216 usage += oid.toString();
307 for (ObjectIdentifier oid : keyUsages) {
308 al.add(oid.toString());
H A DX509CRLEntryImpl.java346 * @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 DRDN.java322 * @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 DCertificateExtensions.java242 public String getNameByOid(ObjectIdentifier oid) throws IOException { argument
244 if (map.get(name).getExtensionId().equals((Object)oid)) {
H A DX509CertImpl.java1048 * @return the signature algorithm oid string.
1053 ObjectIdentifier oid = algId.getOID();
1054 return (oid.toString());
1283 * @return a set of the extension oid strings in the
1313 * @return a set of the extension oid strings in the
1342 * @param oid the Object Identifier value for the extension.
1346 public Extension getExtension(ObjectIdentifier oid) { argument
1360 Extension ex = extensions.getExtension(oid.toString());
1365 if (ex2.getExtensionId().equals((Object)oid)) {
1378 public Extension getUnparseableExtension(ObjectIdentifier oid) { argument
1405 getExtensionValue(String oid) argument
[all...]
H A DX509CRLImpl.java797 * @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/ojluni/src/main/java/java/security/cert/
H A DX509Extension.java97 * 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
H A DCertificateRevokedException.java237 String oid = (String) ois.readObject();
243 (new ObjectIdentifier(oid), critical, extVal);
244 extensions.put(oid, ext);
/libcore/ojluni/src/main/java/sun/security/pkcs/
H A DPKCS9Attributes.java159 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 DPKCS9Attribute.java395 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 DPKCS7.java300 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/tests/security/cert/
H A DX509CRL2Test.java91 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 DX509CRLEntryTest.java57 public byte[] getExtensionValue(String oid) { argument
/libcore/luni/src/test/java/libcore/sun/security/x509/
H A DAlgorithmIdTest.java82 private String getOidName(String oid) throws Exception { argument
83 return new AlgorithmId(new ObjectIdentifier(oid)).getName();
/libcore/ojluni/src/main/java/sun/security/provider/certpath/
H A DPKIXMasterCertPathValidator.java106 for (String oid : unresCritExts) {
107 joiner.add(oid);
H A DPolicyNodeImpl.java391 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 DObjectIdentifier.java142 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...]
H A DDerOutputStream.java291 public void putOID(ObjectIdentifier oid) throws IOException { argument
292 oid.encode(this);
/libcore/support/src/test/java/org/apache/harmony/security/tests/support/cert/
H A DMyCertificate.java153 public byte[] getExtensionValue(String oid) { argument
/libcore/luni/src/test/java/libcore/java/security/spec/
H A DAlgorithmParametersPSSTest.java218 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);

Completed in 477 milliseconds

12