Home | History | Annotate | Download | only in x509

Lines Matching refs:oid

31      * Add an extension with the given oid and the passed in value to be included
34 * @param oid OID for the extension.
39 ASN1ObjectIdentifier oid,
45 this.addExtension(oid, critical, value.toASN1Primitive().getEncoded(ASN1Encoding.DER));
54 * Add an extension with the given oid and the passed in byte array to be wrapped in the
57 * @param oid OID for the extension.
62 ASN1ObjectIdentifier oid,
66 if (extensions.containsKey(oid))
68 throw new IllegalArgumentException("extension " + oid + " already added");
71 extOrdering.addElement(oid);
72 extensions.put(oid, new X509Extension(critical, new DEROctetString(value)));