Abstract
Abstract
decryptDecrypt data stored in "EncryptedContentInfo" object using parameters
Abstract
encryptSpecialized function encrypting "EncryptedContentInfo" object using parameters
Abstract
getGets WebCrypto algorithm by wel-known OID
Returns WebCrypto algorithm or an empty object
algorithm identifier
Optional
safety: booleanif true
throws exception on unknown algorithm identifier
Optional
target: stringname of the target
Gets WebCrypto algorithm by wel-known OID
Returns WebCrypto algorithm
Throws Error exception if unknown algorithm identifier
algorithm identifier
if true
throws exception on unknown algorithm identifier
Optional
target: stringname of the target
Optional
safety: anyOptional
target: anyAbstract
getGet default algorithm parameters for each kind of operation
Algorithm name to get common parameters for
Kind of operation: "sign", "encrypt", "generateKey", "importKey", "exportKey", "verify"
Abstract
getGetting hash algorithm by signature algorithm
Signature algorithm
Abstract
getOIDByGet OID for each specific algorithm
Throws Error exception if unknown WebCrypto algorithm
WebCrypto Algorithm
Optional
safety: booleanIf true
throws exception on unknown algorithm. Default is false
Optional
target: stringName of the target
Abstract
getOptional
parameters: CryptoEnginePublicKeyParamsAbstract
getGet signature parameters by analyzing private key algorithm
The private key user would like to use
Optional
hashAlgorithm: stringHash algorithm user would like to use. Default is SHA-1
Abstract
signSign data with pre-defined private key
Data to be signed
Private key to use
Parameters for used algorithm
Abstract
stampStamping (signing) data using algorithm similar to HMAC
Abstract
verifyAbstract
verifyVerify data with the public key
Data to be verified
Signature value
Public key information
Signature algorithm
Optional
shaAlgorithm: stringHash algorithm
Generated using TypeDoc
Constructor for CryptoEngine class