Modifier and Type | Class | Description |
---|---|---|
static class |
RDN.Template |
Constructor | Description |
---|---|
RDN(AVA initialElement) |
An RDN must have at least one element at all times, so an initial
element must be provided.
|
Modifier and Type | Method | Description |
---|---|---|
void |
add(AVA ava) |
|
AVA |
at(int idx) |
|
void |
encode(java.io.OutputStream ostream) |
Write this value's DER encoding to an output stream using
its own base tag.
|
void |
encode(Tag implicit,
java.io.OutputStream ostream) |
Write this value's DER encoding to an output stream using
an implicit tag.
|
Tag |
getTag() |
Returns the base tag for this type, not counting any tags
that may be imposed on it by its context.
|
void |
removeAt(int idx) |
|
int |
size() |
public static final Tag TAG
public RDN(AVA initialElement)
public void add(AVA ava)
public AVA at(int idx)
public void removeAt(int idx) throws TooFewElementsException
TooFewElementsException
- If removing this element would
result in the RDN being empty.public int size()
public Tag getTag()
ASN1Value
public void encode(java.io.OutputStream ostream) throws java.io.IOException
ASN1Value