|
Bouncy Castle Cryptography Library 1.81 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.bouncycastle.asn1.ASN1Object
org.bouncycastle.asn1.x500.RDN
Holding class for a single Relative Distinguished Name (RDN).
Constructor Summary | |
RDN(ASN1ObjectIdentifier oid,
ASN1Encodable value)
Create a single valued RDN. |
|
RDN(AttributeTypeAndValue attrTAndV)
|
|
RDN(AttributeTypeAndValue[] aAndVs)
Create a multi-valued RDN. |
Method Summary | |
AttributeTypeAndValue |
getFirst()
|
static RDN |
getInstance(ASN1TaggedObject taggedObject,
boolean declaredExplicit)
|
static RDN |
getInstance(java.lang.Object obj)
|
AttributeTypeAndValue[] |
getTypesAndValues()
|
boolean |
isMultiValued()
|
int |
size()
Return the number of AttributeTypeAndValue objects in this RDN, |
ASN1Primitive |
toASN1Primitive()
RelativeDistinguishedName ::= SET OF AttributeTypeAndValue AttributeTypeAndValue ::= SEQUENCE { type AttributeType, value AttributeValue } |
Methods inherited from class org.bouncycastle.asn1.ASN1Object |
encodeTo, encodeTo, equals, getEncoded, getEncoded, hasEncodedTagValue, hashCode |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public RDN(ASN1ObjectIdentifier oid, ASN1Encodable value)
oid
- RDN type.value
- RDN value.public RDN(AttributeTypeAndValue attrTAndV)
public RDN(AttributeTypeAndValue[] aAndVs)
aAndVs
- attribute type/value pairs making up the RDNMethod Detail |
public static RDN getInstance(java.lang.Object obj)
public static RDN getInstance(ASN1TaggedObject taggedObject, boolean declaredExplicit)
public boolean isMultiValued()
public int size()
public AttributeTypeAndValue getFirst()
public AttributeTypeAndValue[] getTypesAndValues()
public ASN1Primitive toASN1Primitive()
toASN1Primitive
in interface ASN1Encodable
toASN1Primitive
in class ASN1Object
|
Bouncy Castle Cryptography Library 1.81 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |