public class

X509Attribute

extends ASN1Encodable
java.lang.Object
   ↳ org.bouncycastle.asn1.ASN1Encodable
     ↳ org.bouncycastle.x509.X509Attribute

Class Overview

Class for carrying the values in an X.509 Attribute.

Summary

[Expand]
Inherited Constants
From class org.bouncycastle.asn1.ASN1Encodable
Public Constructors
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.
Public Methods
String getOID()
ASN1Encodable[] getValues()
DERObject toASN1Object()
[Expand]
Inherited Methods
From class org.bouncycastle.asn1.ASN1Encodable
From class java.lang.Object
From interface org.bouncycastle.asn1.DEREncodable

Public Constructors

public 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.

Parameters
oid type of the attribute
value value object to go into the atribute's value set.

public 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.

Parameters
oid type of the attribute
value vector of values to go in the attribute's value set.

Public Methods

public String getOID ()

public ASN1Encodable[] getValues ()

public DERObject toASN1Object ()