IPWorks Encrypt 2020 JavaScript Edition

Questions / Feedback?

Certificate Property

The certificate used for encryption or decryption.

Syntax


 getCertificate(): Certificate;

 setCertificate(certificate: Certificate): void;

Default Value

Remarks

This property specifies a certificate for encryption or decryption.

When calling Encrypt and EncryptionAlgorithm is set to an RSA or ECDH algorithm this property must be set to a public certificate of the recipient.

When calling Decrypt and the message was encrypted using an RSA or ECDH EncryptionAlgorithm this property specifies the certificate with private key used to decrypt the message.

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks Encrypt 2020 JavaScript Edition - Version 20.0 [Build 8262]