Initializes a new instance of the SignedData class
Initialization parameters
Optional
certificatesOptional
crlsOptional
ocspsStatic
CLASS_Name of the class
Static
ID_Signing current SignedData
Private key for "subjectPublicKeyInfo" structure
Index number (starting from 0) of signer index to make signature for
Hashing algorithm. Default SHA-1
Detached data
Crypto engine
Converts the class to JSON object
JSON object
Converts current object to ASN.1 object and sets correct values
ASN.1 object
If param equal to false
then creates schema via decoding stored value. In other case creates schema via assembling from cached parts
Optional
params: SignedDataVerifyParams & { extendedMode?: false }Optional
crypto: ICryptoEngineOptional
crypto: ICryptoEngineStatic
blockStatic
compareStatic
defaultReturns default values for all class members
Default value
String name for a class member
Static
fromBERCreates PKI object from the raw data
Initialized and filled current class object
ASN.1 encoded raw data
Static
schemaReturns value of pre-defined ASN.1 schema for current class
ASN.1 schema object
Input parameters for the schema
Generated using TypeDoc
Represents the SignedData structure described in RFC5652
Example
The following example demonstrates how to create and sign CMS Signed Data
Example
The following example demonstrates how to verify CMS Signed Data