Properties
asymmetricDecrypt
asymmetricDecrypt: function
Type declaration
-
- (buffer: Buffer, privateKey: PrivateKeyPEM): Buffer
-
Parameters
-
buffer: Buffer
-
privateKey: PrivateKeyPEM
Returns Buffer
asymmetricEncrypt
asymmetricEncrypt: function
Type declaration
-
- (buffer: Buffer, publicKey: PublicKeyPEM): Buffer
-
Parameters
-
buffer: Buffer
-
publicKey: PublicKeyPEM
Returns Buffer
asymmetricEncryptionAlgorithm
asymmetricEncryptionAlgorithm: string
asymmetricSign
asymmetricSign: function
Type declaration
-
- (buffer: Buffer, publicKey: PublicKeyPEM): Buffer
-
Parameters
-
buffer: Buffer
-
publicKey: PublicKeyPEM
Returns Buffer
asymmetricSignatureAlgorithm
asymmetricSignatureAlgorithm: string
asymmetricVerify
asymmetricVerify: function
Type declaration
-
- (buffer: Buffer, signature: Signature, certificate: Certificate): boolean
-
Parameters
-
buffer: Buffer
-
signature: Signature
-
Returns boolean
asymmetricVerifyChunk
asymmetricVerifyChunk: function
Type declaration
-
-
Parameters
Returns boolean
blockPaddingSize
blockPaddingSize: number
derivedEncryptionKeyLength
derivedEncryptionKeyLength: number
derivedSignatureKeyLength
derivedSignatureKeyLength: number
encryptingBlockSize
encryptingBlockSize: number
maximumAsymmetricKeyLength
maximumAsymmetricKeyLength: number
minimumAsymmetricKeyLength
minimumAsymmetricKeyLength: number
sha1or256
sha1or256: "SHA1" | "SHA256"
signatureLength
signatureLength: number
symmetricEncryptionAlgorithm
symmetricEncryptionAlgorithm: string
symmetricKeyLength
symmetricKeyLength: number