org.mozilla.jss.pkix.cms
public class EncryptedData extends Object implements ASN1Value
Nested Class Summary | |
---|---|
static class | EncryptedData.Template
A Template for decoding EncryptedData items. |
Field Summary | |
---|---|
static INTEGER | DEFAULT_VERSION
The default version number. |
Constructor Summary | |
---|---|
EncryptedData(INTEGER version, EncryptedContentInfo encryptedContentInfo)
Creates a new EncryptedData.
| |
EncryptedData(EncryptedContentInfo encryptedContentInfo)
Creates an EncryptedData with the default version. |
Method Summary | |
---|---|
void | encode(OutputStream ostream) |
void | encode(Tag implicitTag, OutputStream ostream) |
EncryptedContentInfo | getEncryptedContentInfo() |
Tag | getTag() |
static EncryptedData.Template | getTemplate() |
INTEGER | getVersion() |
Parameters: version Should usually be DEFAULT_VERSION unless you are being very clever.