public class X509Attribute extends ASN1Object
Constructor and Description |
---|
X509Attribute(java.lang.String oid,
ASN1Encodable value)
Deprecated.
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.
|
X509Attribute(java.lang.String oid,
ASN1EncodableVector value)
Deprecated.
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.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getOID()
Deprecated.
|
ASN1Encodable[] |
getValues()
Deprecated.
|
ASN1Primitive |
toASN1Primitive()
Deprecated.
Method providing a primitive representation of this object suitable for encoding.
|
equals, getEncoded, getEncoded, hasEncodedTagValue, hashCode, toASN1Object
public X509Attribute(java.lang.String oid, ASN1Encodable value)
oid
- type of the attributevalue
- value object to go into the atribute's value set.public X509Attribute(java.lang.String oid, ASN1EncodableVector value)
oid
- type of the attributevalue
- vector of values to go in the attribute's value set.public java.lang.String getOID()
public ASN1Encodable[] getValues()
public ASN1Primitive toASN1Primitive()
ASN1Object
toASN1Primitive
in interface ASN1Encodable
toASN1Primitive
in class ASN1Object