public class X509Attribute
extends org.bouncycastle.asn1.ASN1Object
Constructor and Description |
---|
X509Attribute(String oid,
org.bouncycastle.asn1.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(String oid,
org.bouncycastle.asn1.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 |
---|---|
String |
getOID()
Deprecated.
|
org.bouncycastle.asn1.ASN1Encodable[] |
getValues()
Deprecated.
|
org.bouncycastle.asn1.ASN1Primitive |
toASN1Primitive()
Deprecated.
|
public X509Attribute(String oid, org.bouncycastle.asn1.ASN1Encodable value)
oid
- type of the attributevalue
- value object to go into the atribute's value set.public X509Attribute(String oid, org.bouncycastle.asn1.ASN1EncodableVector value)
oid
- type of the attributevalue
- vector of values to go in the attribute's value set.public String getOID()
public org.bouncycastle.asn1.ASN1Encodable[] getValues()
public org.bouncycastle.asn1.ASN1Primitive toASN1Primitive()
toASN1Primitive
in interface org.bouncycastle.asn1.ASN1Encodable
toASN1Primitive
in class org.bouncycastle.asn1.ASN1Object
Copyright © 2017 BouncyCastle.org. All rights reserved.