ASN1ValueControlpublic class AVA extends java.lang.Object implements ASN1Value
AttributeValueAssertion ::= SEQUENCE {
type OBJECT IDENTIFIER,
value ANY DEFINED BY type }
| Modifier and Type | Class | Description |
|---|---|---|
static class |
AVA.Template |
A Template for decoding an AVA.
|
| Constructor | Description |
|---|---|
AVA(OBJECT_IDENTIFIER oid,
ASN1Value value) |
| Modifier and Type | Method | 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()
ASN1Valuepublic OBJECT_IDENTIFIER getOID()
public ANY getValue()
public void encode(java.io.OutputStream ostream)
throws java.io.IOException
ASN1Value