Package org.bouncycastle.x509
Class X509Attribute
- java.lang.Object
-
- org.bouncycastle.asn1.ASN1Object
-
- org.bouncycastle.x509.X509Attribute
-
- All Implemented Interfaces:
ASN1Encodable
,Encodable
public class X509Attribute extends ASN1Object
Deprecated.see X509CertificateHolder class in the PKIX package.Class for carrying the values in an X.509 Attribute.
-
-
Constructor Summary
Constructors Constructor 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.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description java.lang.String
getOID()
Deprecated.ASN1Encodable[]
getValues()
Deprecated.ASN1Primitive
toASN1Primitive()
Deprecated.Method providing a primitive representation of this object suitable for encoding.-
Methods inherited from class org.bouncycastle.asn1.ASN1Object
encodeTo, encodeTo, equals, getEncoded, getEncoded, hasEncodedTagValue, hashCode
-
-
-
-
Constructor Detail
-
X509Attribute
public 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.- Parameters:
oid
- type of the attributevalue
- value object to go into the atribute's value set.
-
X509Attribute
public 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.- Parameters:
oid
- type of the attributevalue
- vector of values to go in the attribute's value set.
-
-
Method Detail
-
getOID
public java.lang.String getOID()
Deprecated.
-
getValues
public ASN1Encodable[] getValues()
Deprecated.
-
toASN1Primitive
public ASN1Primitive toASN1Primitive()
Deprecated.Description copied from class:ASN1Object
Method providing a primitive representation of this object suitable for encoding.- Specified by:
toASN1Primitive
in interfaceASN1Encodable
- Specified by:
toASN1Primitive
in classASN1Object
- Returns:
- a primitive representation of this object.
-
-