Modifier and Type | Class and Description |
---|---|
static class |
TaggedContentInfo.Template
A Template for decoding a
TaggedContentInfo . |
Constructor and Description |
---|
TaggedContentInfo(INTEGER bodyPartID,
ContentInfo contentInfo)
Constructs a new
TaggedContentInfo from its components. |
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 implicitTag,
java.io.OutputStream ostream)
Write this value's DER encoding to an output stream using
an implicit tag.
|
INTEGER |
getBodyPartID()
Returns the
bodyPartID field. |
ContentInfo |
getContentInfo()
Returns the
contentInfo field. |
Tag |
getTag()
Returns the base tag for this type, not counting any tags
that may be imposed on it by its context.
|
static TaggedContentInfo.Template |
getTemplate() |
public TaggedContentInfo(INTEGER bodyPartID, ContentInfo contentInfo)
TaggedContentInfo
from its components.public INTEGER getBodyPartID()
bodyPartID
field.public ContentInfo getContentInfo()
contentInfo
field.public Tag getTag()
ASN1Value
public void encode(java.io.OutputStream ostream) throws java.io.IOException
ASN1Value
public void encode(Tag implicitTag, java.io.OutputStream ostream) throws java.io.IOException
ASN1Value
public static TaggedContentInfo.Template getTemplate()