Package org.bouncycastle.asn1.x509
Class SubjectDirectoryAttributes
java.lang.Object
org.bouncycastle.asn1.ASN1Object
org.bouncycastle.asn1.x509.SubjectDirectoryAttributes
- All Implemented Interfaces:
ASN1Encodable
,Encodable
This extension may contain further X.500 attributes of the subject. See also
RFC 3039.
SubjectDirectoryAttributes ::= Attributes Attributes ::= SEQUENCE SIZE (1..MAX) OF Attribute Attribute ::= SEQUENCE { type AttributeType values SET OF AttributeValue } AttributeType ::= OBJECT IDENTIFIER AttributeValue ::= ANY DEFINED BY AttributeType
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionSubjectDirectoryAttributes
(Vector attributes) Constructor from a vector of attributes. -
Method Summary
Modifier and TypeMethodDescriptionstatic SubjectDirectoryAttributes
getInstance
(Object obj) Produce an object suitable for an ASN1OutputStream.Methods inherited from class org.bouncycastle.asn1.ASN1Object
encodeTo, encodeTo, equals, getEncoded, getEncoded, hasEncodedTagValue, hashCode
-
Constructor Details
-
SubjectDirectoryAttributes
Constructor from a vector of attributes. The vector consists of attributes of typeAttribute
- Parameters:
attributes
- The attributes.
-
-
Method Details
-
getInstance
-
toASN1Primitive
Produce an object suitable for an ASN1OutputStream. Returns:SubjectDirectoryAttributes ::= Attributes Attributes ::= SEQUENCE SIZE (1..MAX) OF Attribute Attribute ::= SEQUENCE { type AttributeType values SET OF AttributeValue } AttributeType ::= OBJECT IDENTIFIER AttributeValue ::= ANY DEFINED BY AttributeType
- Specified by:
toASN1Primitive
in interfaceASN1Encodable
- Specified by:
toASN1Primitive
in classASN1Object
- Returns:
- a ASN1Primitive
-
getAttributes
- Returns:
- Returns the attributes.
-