| Modifier and Type | Class | Description |
|---|---|---|
static class |
Attribute.Template |
A Template for decoding an Attribute.
|
| Constructor | Description |
|---|---|
Attribute(OBJECT_IDENTIFIER type,
ASN1Value value) |
|
Attribute(OBJECT_IDENTIFIER type,
SET values) |
| 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.
|
Tag |
getTag() |
Returns the base tag for this type, not counting any tags
that may be imposed on it by its context.
|
static Attribute.Template |
getTemplate() |
|
OBJECT_IDENTIFIER |
getType() |
|
SET |
getValues() |
If this AVA was constructed, returns the SET of ASN1Values passed to the
constructor.
|
public static final Tag TAG
public Attribute(OBJECT_IDENTIFIER type, SET values)
public Attribute(OBJECT_IDENTIFIER type, ASN1Value value)
public Tag getTag()
ASN1Valuepublic OBJECT_IDENTIFIER getType()
public SET getValues()
public void encode(java.io.OutputStream ostream)
throws java.io.IOException
ASN1Valuepublic void encode(Tag implicit, java.io.OutputStream ostream) throws java.io.IOException
ASN1Valuepublic static Attribute.Template getTemplate()