Class SubjectDirectoryAttributes
java.lang.Object
org.gudy.bouncycastle.asn1.ASN1Encodable
org.gudy.bouncycastle.asn1.x509.SubjectDirectoryAttributes
- All Implemented Interfaces:
DEREncodable
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:
-
Field Summary
FieldsFields inherited from class ASN1Encodable
BER, DER -
Constructor Summary
ConstructorsConstructorDescriptionSubjectDirectoryAttributes(Vector attributes) Constructor from a vector of attributes.Constructor from ASN1Sequence. -
Method Summary
Modifier and TypeMethodDescriptionstatic SubjectDirectoryAttributesgetInstance(Object obj) Produce an object suitable for an ASN1OutputStream.Methods inherited from class ASN1Encodable
equals, getDEREncoded, getDERObject, getEncoded, getEncoded, hashCode
-
Field Details
-
attributes
-
-
Constructor Details
-
SubjectDirectoryAttributes
Constructor from ASN1Sequence. The sequence is of type SubjectDirectoryAttributes: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- Parameters:
seq- The ASN.1 sequence.
-
SubjectDirectoryAttributes
-
-
Method Details
-
getInstance
-
toASN1Object
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:
toASN1Objectin classASN1Encodable- Returns:
- a DERObject
-
getAttributes
- Returns:
- Returns the attributes.
-