|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.bouncycastle.asn1.ASN1Encodable
be.cardon.asn1.x509.extensions.SubjectDirectoryAttributes
public class SubjectDirectoryAttributes
Extension SubjectDirectoryAttributes.
Documentation from RFC 3280:
The subject directory attributes extension is used to convey identification attributes (e.g., nationality) of the subject. The extension is defined as a sequence of one or more attributes. This extension MUST be non-critical.
ASN.1 definitions:
id-ce-subjectDirectoryAttributes OBJECT IDENTIFIER ::= { id-ce 9 }
SubjectDirectoryAttributes ::= SEQUENCE SIZE (1..MAX) OF Attribute
See org.bouncycastle.asn1.x509.X509Name for AttributeType
ObjectIdentifiers.
| Field Summary |
|---|
| Fields inherited from class org.bouncycastle.asn1.ASN1Encodable |
|---|
BER, DER |
| Constructor Summary | |
|---|---|
SubjectDirectoryAttributes(org.bouncycastle.asn1.ASN1Sequence seq)
Creates a new instance from ASN1Sequence object. |
|
SubjectDirectoryAttributes(java.util.Vector<Attribute> attributes)
Creates a new instance from a vector of Attribute. |
|
| Method Summary | |
|---|---|
java.util.Vector<Attribute> |
getAttributes()
Returns the attributes. |
static SubjectDirectoryAttributes |
getInstance(java.lang.Object obj)
Returns a new instance from ASN1Sequence,
or SubjectDirectoryAttributes object. |
org.bouncycastle.asn1.DERObject |
toASN1Object()
|
| Methods inherited from class org.bouncycastle.asn1.ASN1Encodable |
|---|
equals, getDEREncoded, getDERObject, getEncoded, getEncoded, hashCode |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SubjectDirectoryAttributes(org.bouncycastle.asn1.ASN1Sequence seq)
ASN1Sequence object.
public SubjectDirectoryAttributes(java.util.Vector<Attribute> attributes)
Attribute.
Make a copy of the vector.
| Method Detail |
|---|
public static SubjectDirectoryAttributes getInstance(java.lang.Object obj)
ASN1Sequence,
or SubjectDirectoryAttributes object.
public org.bouncycastle.asn1.DERObject toASN1Object()
toASN1Object in class org.bouncycastle.asn1.ASN1Encodablepublic java.util.Vector<Attribute> getAttributes()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||