IPWorks Encrypt 2020 JavaScript Edition

Questions / Feedback?

Certificate Property

The certificate used for signing and decryption.

Syntax


 getCertificate(): Certificate;

 setCertificate(certificate: Certificate): void;

Default Value

Remarks

This property specifies a certificate with private key.

This may be set instead of Key. This allows a Certificate object to be used instead of a RSAKey object. This certificate is used when calling Sign and Decrypt. The specified certificate must have a private key.

If both this property and Key are specified, Key will be used and this property will be ignored.

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