Package org.mozilla.jss.pkcs7
Class EnvelopedData
java.lang.Object
org.mozilla.jss.pkcs7.EnvelopedData
- All Implemented Interfaces:
ASN1Value
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classA template file for decoding a EnvelopedData blob -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate EncryptedContentInfoprivate SETprivate SEQUENCEstatic final Tagprivate INTEGER -
Constructor Summary
ConstructorsConstructorDescriptionEnvelopedData(INTEGER version, SET recipientInfos, EncryptedContentInfo encryptedContentInfo) Create a EnvelopedData ASN1 object. -
Method Summary
Modifier and TypeMethodDescriptionvoidencode(OutputStream ostream) Write this value's DER encoding to an output stream using its own base tag.voidencode(Tag tag, OutputStream ostream) Write this value's DER encoding to an output stream using an implicit tag.getTag()Returns the base tag for this type, not counting any tags that may be imposed on it by its context.
-
Field Details
-
TAG
-
version
-
recipientInfos
-
encryptedContentInfo
-
sequence
-
-
Constructor Details
-
EnvelopedData
public EnvelopedData(INTEGER version, SET recipientInfos, EncryptedContentInfo encryptedContentInfo) Create a EnvelopedData ASN1 object.
-
-
Method Details
-
getTag
Description copied from interface:ASN1ValueReturns the base tag for this type, not counting any tags that may be imposed on it by its context. -
getVersion
-
getRecipientInfos
-
getEncryptedContentInfo
-
encode
Description copied from interface:ASN1ValueWrite this value's DER encoding to an output stream using its own base tag.- Specified by:
encodein interfaceASN1Value- Parameters:
ostream- Output stream.- Throws:
IOException- If an error occurred.
-
encode
Description copied from interface:ASN1ValueWrite this value's DER encoding to an output stream using an implicit tag.- Specified by:
encodein interfaceASN1Value- Parameters:
tag- Implicit tag.ostream- Output stream.- Throws:
IOException- If an error occurred.
-