Constructors Summary |
---|
X509Attribute(org.bouncycastle.asn1.ASN1Encodable at)
this.attr = Attribute.getInstance(at);
|
public X509Attribute(String oid, org.bouncycastle.asn1.ASN1Encodable value)Create an X.509 Attribute with the type given by the passed in oid and
the value represented by an ASN.1 Set containing value.
this.attr = new Attribute(new DERObjectIdentifier(oid), new DERSet(value));
|
public X509Attribute(String oid, org.bouncycastle.asn1.ASN1EncodableVector value)Create an X.59 Attribute with the type given by the passed in oid and the
value represented by an ASN.1 Set containing the objects in value.
this.attr = new Attribute(new DERObjectIdentifier(oid), new DERSet(value));
|