org.bouncycastle.asn1.x509
public class SubjectDirectoryAttributes extends ASN1Encodable
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: for AttributeType ObjectIdentifiers.
Constructor Summary | |
---|---|
SubjectDirectoryAttributes(ASN1Sequence seq)
Constructor from ASN1Sequence.
| |
SubjectDirectoryAttributes(Vector attributes)
Constructor from a vector of attributes.
|
Method Summary | |
---|---|
Vector | getAttributes() |
static SubjectDirectoryAttributes | getInstance(Object obj) |
DERObject | toASN1Object()
Produce an object suitable for an ASN1OutputStream.
|
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.
Attribute
Parameters: attributes The attributes.
Returns: Returns the attributes.
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
Returns: a DERObject