public class AVA extends java.lang.Object implements ASN1Value
AttributeValueAssertion ::= SEQUENCE { type OBJECT IDENTIFIER, value ANY DEFINED BY type }
Modifier and Type | Class and Description |
---|---|
static class |
AVA.Template
A Template for decoding an AVA.
|
Constructor and Description |
---|
AVA(OBJECT_IDENTIFIER oid,
ASN1Value value) |
Modifier and Type | Method and Description |
---|---|
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.
|
OBJECT_IDENTIFIER |
getOID() |
Tag |
getTag()
Returns the base tag for this type, not counting any tags
that may be imposed on it by its context.
|
ANY |
getValue()
Returns the value of this AVA, encoded as an ANY.
|
public static final Tag TAG
public AVA(OBJECT_IDENTIFIER oid, ASN1Value value)
public Tag getTag()
ASN1Value
public OBJECT_IDENTIFIER getOID()
public ANY getValue()
public void encode(java.io.OutputStream ostream) throws java.io.IOException
ASN1Value