org.mozilla.jss.pkcs7

Class EnvelopedData

Implemented Interfaces:
ASN1Value

public class EnvelopedData
extends java.lang.Object
implements ASN1Value

Nested Class Summary

static class
EnvelopedData.Template
A template file for decoding a EnvelopedData blob

Field Summary

static Tag
TAG

Constructor Summary

EnvelopedData(INTEGER version, SET recipientInfos, EncryptedContentInfo encryptedContentInfo)
Create a EnvelopedData ASN1 object.

Method Summary

void
encode(OutputStream ostream)
void
encode(Tag tag, OutputStream ostream)
EncryptedContentInfo
getEncryptedContentInfo()
SET
getRecipientInfos()
Tag
getTag()
INTEGER
getVersion()

Field Details

TAG

public static final Tag TAG

Constructor Details

EnvelopedData

public EnvelopedData(INTEGER version,
                     SET recipientInfos,
                     EncryptedContentInfo encryptedContentInfo)
Create a EnvelopedData ASN1 object.

Method Details

encode

public void encode(OutputStream ostream)
            throws IOException
Specified by:
encode in interface ASN1Value

encode

public void encode(Tag tag,
                   OutputStream ostream)
            throws IOException
Specified by:
encode in interface ASN1Value

getEncryptedContentInfo

public EncryptedContentInfo getEncryptedContentInfo()

getRecipientInfos

public SET getRecipientInfos()

getTag

public Tag getTag()
Specified by:
getTag in interface ASN1Value

getVersion

public INTEGER getVersion()