Initializes a new instance of the EncryptedData class
Initialization parameters
Encrypted content information
Collection of attributes that are not encrypted
Version number.
If unprotectedAttrs
is present, then the version MUST be 2. If unprotectedAttrs
is absent, then version MUST be 0.
Name of the class
Creates a new CMS Encrypted Data content
Parameters necessary for encryption
Crypto engine
Returns decrypted raw data
Creates a new CMS Encrypted Data content
Parameters necessary for encryption
Converts parsed ASN.1 object into current class
Converts the class to JSON object
JSON object
Converts current object to ASN.1 object and sets correct values
ASN.1 object
Returns block name
Returns string block name
Compare values with default values for all class members
String name for a class member
Value to compare with default value
Returns default values for all class members
String name for a class member
Default value
Creates PKI object from the raw data
ASN.1 encoded raw data
Initialized and filled current class object
Returns value of pre-defined ASN.1 schema for current class
Input parameters for the schema
ASN.1 schema object
Generated using TypeDoc
Represents the EncryptedData structure described in RFC5652
The following example demonstrates how to create and encrypt CMS Encrypted Data
The following example demonstrates how to decrypt CMS Encrypted Data