org.mozilla.jss.pkix.primitive

Class RDN

public class RDN extends Object implements ASN1Value

A RelativeDistinguishedName, whose ASN.1 is:
 RelativeDistinguishedName ::= SET SIZE(1..MAX) OF AttributeValueAssertion
 
Nested Class Summary
static classRDN.Template
Field Summary
static TagTAG
Constructor Summary
RDN(AVA initialElement)
An RDN must have at least one element at all times, so an initial element must be provided.
Method Summary
voidadd(AVA ava)
AVAat(int idx)
voidencode(OutputStream ostream)
voidencode(Tag implicit, OutputStream ostream)
TaggetTag()
voidremoveAt(int idx)
intsize()

Field Detail

TAG

public static final Tag TAG

Constructor Detail

RDN

public RDN(AVA initialElement)
An RDN must have at least one element at all times, so an initial element must be provided.

Method Detail

add

public void add(AVA ava)

at

public AVA at(int idx)

encode

public void encode(OutputStream ostream)

encode

public void encode(Tag implicit, OutputStream ostream)

getTag

public Tag getTag()

removeAt

public void removeAt(int idx)

Throws: TooFewElementsException If removing this element would result in the RDN being empty.

size

public int size()