IPWorks S/MIME 2020 JS Edition

Questions / Feedback?

AddRecipientCert Method

Used to add recipient certificates used to encrypt messages.


async ssmtp.addRecipientCert(certEncoded : Uint8Array): Promise<void>


This method is used to add recipient certificates to the internal MessageRecipients properties used to encrypt the Message. The recipient certificate must be a valid PKCS encoded certificate. If the certificate provided is Base64 encoded it will be decoded first by the object.

The CertMgr class may be used to retrieve the appropriate certificate from the system.

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks S/MIME 2020 JS Edition - Version 20.0 [Build 8161]