org.mozilla.jss.pkcs7
Class EncryptedData
java.lang.Objectorg.mozilla.jss.pkcs7.EncryptedData
- ASN1Value
public class EncryptedData
extends java.lang.Object
The PKCS #7 structure EncryptedData.
DEFAULT_VERSION
public static final INTEGER DEFAULT_VERSION
The default version number. This should always be used unless
you really know what you are doing.
EncryptedData
public EncryptedData(INTEGER version,
EncryptedContentInfo encryptedContentInfo) Creates a new EncryptedData.
version - Should usually be DEFAULT_VERSION unless you are being
very clever.
EncryptedData
public EncryptedData(EncryptedContentInfo encryptedContentInfo)
Creates an EncryptedData with the default version.
encode
public void encode(OutputStream ostream)
throws IOException- encode in interface ASN1Value
encode
public void encode(Tag implicitTag,
OutputStream ostream)
throws IOException- encode in interface ASN1Value
getVersion
public INTEGER getVersion()