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

12

/libcore/ojluni/src/main/java/java/security/cert/
H A DX509Extension.java103 * for (String oid : critSet) {
104 * System.out.println(oid);
146 * for (String oid : nonCritSet) {
147 * System.out.println(oid);
161 * (<em>extnValue</em>) identified by the passed-in <code>oid</code>
163 * The <code>oid</code> string is
194 * @param oid the Object Identifier value for the extension.
198 public byte[] getExtensionValue(String oid); argument
/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 DCertificateExtensions.java241 public String getNameByOid(ObjectIdentifier oid) throws IOException { argument
243 if (map.get(name).getExtensionId().equals(oid)) {
H A DRDN.java326 * @params oid ObjectIdentifier of attribute to be found
329 DerValue findAttribute(ObjectIdentifier oid) { argument
331 if (assertion[i].oid.equals(oid)) {
462 // followed by the oid type AVA's numerically
H A DOIDMap.java110 /** Map ObjectIdentifier(oid) -> OIDInfo(info) */
175 private static void addInternal(String name, ObjectIdentifier oid, argument
177 OIDInfo info = new OIDInfo(name, oid, clazz);
178 oidMap.put(oid, info);
187 final ObjectIdentifier oid; field in class:OIDMap.OIDInfo
191 OIDInfo(String name, ObjectIdentifier oid, Class clazz) { argument
193 this.oid = oid;
209 * @param oid the string representation of the object identifier for
214 public static void addAttribute(String name, String oid, Clas argument
240 getName(ObjectIdentifier oid) argument
274 getClass(ObjectIdentifier oid) argument
[all...]
H A DX509CRLEntryImpl.java348 * @return a set of the extension oid strings in the
369 * @return a set of the extension oid strings in the
387 * (<em>extnValue</em>) identified by the passed in oid String.
388 * The <code>oid</code> string is
394 * @param oid the Object Identifier value for the extension.
397 public byte[] getExtensionValue(String oid) { argument
401 String extAlias = OIDMap.getName(new ObjectIdentifier(oid));
405 ObjectIdentifier findOID = new ObjectIdentifier(oid);
436 * @param oid ObjectIdentifier of extension desired
439 public Extension getExtension(ObjectIdentifier oid) { argument
[all...]
H A DAVA.java87 final ObjectIdentifier oid; field in class:AVA
119 oid = type;
193 oid = AVAKeyword.getOID(temp.toString(), format, keywordMap);
233 return oid;
384 if (this.oid.equals(PKCS9Attribute.EMAIL_ADDRESS_OID) ||
385 (this.oid.equals(X500Name.DOMAIN_COMPONENT_OID) &&
518 if (this.oid.equals(PKCS9Attribute.EMAIL_ADDRESS_OID) ||
519 (this.oid.equals(X500Name.DOMAIN_COMPONENT_OID) &&
623 oid = X500Name.intern(derval.data.getOID());
677 tmp.putOID(oid);
1196 private ObjectIdentifier oid; field in class:AVAKeyword
1199 AVAKeyword(String keyword, ObjectIdentifier oid, boolean rfc1779Compliant, boolean rfc2253Compliant) argument
1305 getKeyword(ObjectIdentifier oid, int standard) argument
1316 getKeyword(ObjectIdentifier oid, int standard, Map<String, String> extraOidMap) argument
1358 hasKeyword(ObjectIdentifier oid, int standard) 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;
415 ObjectIdentifier oid;
417 oid
637 private static ObjectIdentifier oid(int ... values) { method in class:AlgorithmId
[all...]
H A DX509CRLImpl.java740 * @return the signature algorithm oid string.
745 ObjectIdentifier oid = sigAlgId.getOID();
746 return oid.toString();
903 * @return a set of the extension oid strings in the
924 * @return a set of the extension oid strings in the
942 * (<code>extnValue</code>) identified by the passed in oid String.
943 * The <code>oid</code> string is
948 * @param oid the Object Identifier value for the extension.
951 public byte[] getExtensionValue(String oid) { argument
955 String extAlias = OIDMap.getName(new ObjectIdentifier(oid));
993 getExtension(ObjectIdentifier oid) argument
[all...]
/libcore/luni/src/test/java/tests/security/cert/
H A DX509CRLEntryTest.java57 public byte[] getExtensionValue(String oid) { argument
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 DX509CRLSelector2Test.java559 public byte[] getExtensionValue(String oid) { argument
560 if ("2.5.29.20".equals(oid) && (crlNumber != null)) {
H A DX509CRLTest.java96 public byte[] getExtensionValue(String oid) { argument
H A DX509Certificate2Test.java262 public byte[] getExtensionValue(String oid) { argument
/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.java394 private ObjectIdentifier oid; field in class:PKCS9Attribute
423 public PKCS9Attribute(ObjectIdentifier oid, Object value) argument
425 init(oid, value);
446 ObjectIdentifier oid = getOID(name);
448 if (oid == null)
453 init(oid, value);
456 private void init(ObjectIdentifier oid, Object value) argument
459 this.oid = oid;
460 index = indexOf(oid, PKCS9_OID
784 getName(ObjectIdentifier oid) argument
[all...]
H A DPKCS7.java263 DerValue oid = digestAlgorithmIdVals[i];
264 digestAlgorithmIds[i] = AlgorithmId.parse(oid);
395 DerValue oid = digestAlgorithmIdVals[i];
396 digestAlgorithmIds[i] = AlgorithmId.parse(oid);
806 public byte[] getExtensionValue(String oid) { argument
807 return wrapped.getExtensionValue(oid);
/libcore/luni/src/test/java/libcore/java/security/spec/
H A DAlgorithmParametersPSSTest.java222 private static void addDigestOid(String algorithm, String oid) { argument
223 DIGEST_OID_TO_NAME.put(oid, algorithm);
224 DIGEST_NAME_TO_OID.put(algorithm, oid);
/libcore/ojluni/src/main/java/sun/security/ec/
H A DNamedCurve.java51 private final ObjectIdentifier oid; field in class:NamedCurve
56 private NamedCurve(String name, ObjectIdentifier oid, EllipticCurve curve, argument
60 this.oid = oid;
63 out.putOID(oid);
75 static ECParameterSpec getECParameterSpec(ObjectIdentifier oid) { argument
76 return getECParameterSpec(oid.toString());
100 return oid;
104 return name + " (" + oid + ")";
136 ObjectIdentifier oid
[all...]
/libcore/support/src/test/java/org/apache/harmony/security/tests/support/cert/
H A DMyCertificate.java153 public byte[] getExtensionValue(String oid) { argument
/libcore/ojluni/src/main/java/sun/security/provider/certpath/
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 DDerOutputStream.java291 public void putOID(ObjectIdentifier oid) throws IOException { argument
292 oid.encode(this);
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;
322 * @deprecated Use equals((Object)oid)
620 "Must be at least two oid components ");
626 "First oid componen
[all...]
/libcore/luni/src/test/java/libcore/javax/net/ssl/
H A DDefaultHostnameVerifierTest.java684 @Override public byte[] getExtensionValue(String oid) { argument

Completed in 602 milliseconds

12