ASN1Valuepublic class TaggedAttribute extends java.lang.Object implements ASN1Value
TaggedAttribute ::= SEQUENCE {
bodyPartID BodyPartId,
attrType OBJECT IDENTIFIER,
attrValues SET OF AttributeValue
bodyIdMax INTEGER ::= 4294967295
BodyPartID ::= INTEGER(0..bodyIdMax)
| Modifier and Type | Class | Description |
|---|---|---|
static class |
TaggedAttribute.Template |
A Template for decoding an Attribute.
|
| Constructor | Description |
|---|---|
TaggedAttribute(INTEGER bodyPartID,
OBJECT_IDENTIFIER type,
ASN1Value value) |
|
TaggedAttribute(INTEGER bodyPartID,
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.
|
INTEGER |
getBodyPartID() |
|
Tag |
getTag() |
Returns the base tag for this type, not counting any tags
that may be imposed on it by its context.
|
static TaggedAttribute.Template |
getTemplate() |
|
OBJECT_IDENTIFIER |
getType() |
|
SET |
getValues() |
If this AVA was constructed, returns the SET of ASN1Values passed to the
constructor.
|
public TaggedAttribute(INTEGER bodyPartID, OBJECT_IDENTIFIER type, SET values)
public TaggedAttribute(INTEGER bodyPartID, OBJECT_IDENTIFIER type, ASN1Value value)
public INTEGER getBodyPartID()
public OBJECT_IDENTIFIER getType()
public SET getValues()
public Tag getTag()
ASN1Valuepublic 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 TaggedAttribute.Template getTemplate()