public class X509Attribute extends ASN1Encodable
BER, DER
Constructor and Description |
---|
X509Attribute(String oid,
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.
|
X509Attribute(String oid,
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.
|
Modifier and Type | Method and Description |
---|---|
String |
getOID() |
ASN1Encodable[] |
getValues() |
DERObject |
toASN1Object() |
equals, getDEREncoded, getDERObject, getEncoded, getEncoded, hashCode
public X509Attribute(String oid, ASN1Encodable value)
oid
- type of the attributevalue
- value object to go into the atribute's value set.public X509Attribute(String oid, ASN1EncodableVector value)
oid
- type of the attributevalue
- vector of values to go in the attribute's value set.public String getOID()
public ASN1Encodable[] getValues()
public DERObject toASN1Object()
toASN1Object
in class ASN1Encodable
Copyright © 2015. All rights reserved.