Modifier and Type | Class and Description |
---|---|
static class |
EncryptedPOP.Template
A Template for decoding BER-encoded EncryptedPOP items.
|
Constructor and Description |
---|
EncryptedPOP(TaggedRequest request,
ContentInfo cms,
AlgorithmIdentifier thePOPAlgID,
AlgorithmIdentifier witnessAlgID,
OCTET_STRING witness) |
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.
|
ContentInfo |
getContentInfo() |
TaggedRequest |
getRequest() |
Tag |
getTag()
Returns the base tag for this type, not counting any tags
that may be imposed on it by its context.
|
static EncryptedPOP.Template |
getTemplate() |
AlgorithmIdentifier |
getThePOPAlgID() |
OCTET_STRING |
getWitness() |
AlgorithmIdentifier |
getWitnessAlgID() |
public EncryptedPOP(TaggedRequest request, ContentInfo cms, AlgorithmIdentifier thePOPAlgID, AlgorithmIdentifier witnessAlgID, OCTET_STRING witness)
public TaggedRequest getRequest()
public ContentInfo getContentInfo()
public AlgorithmIdentifier getThePOPAlgID()
public AlgorithmIdentifier getWitnessAlgID()
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 EncryptedPOP.Template getTemplate()