Modifier and Type | Class and Description |
---|---|
static class |
DecryptedPOP.Template
A Template for decoding BER-encoded DecryptedPOP items.
|
Constructor and Description |
---|
DecryptedPOP(INTEGER bodyPartID,
AlgorithmIdentifier thePOPAlgID,
OCTET_STRING thePOP) |
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. |
Tag |
getTag()
Returns the base tag for this type, not counting any tags
that may be imposed on it by its context.
|
static DecryptedPOP.Template |
getTemplate() |
AlgorithmIdentifier |
getThePOPAlgID() |
OCTET_STRING |
getWitness() |
public DecryptedPOP(INTEGER bodyPartID, AlgorithmIdentifier thePOPAlgID, OCTET_STRING thePOP)
public INTEGER getBodyPartID()
bodyPartID
field.public AlgorithmIdentifier getThePOPAlgID()
public OCTET_STRING getWitness()
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 DecryptedPOP.Template getTemplate()