AddRecipientCert Method
Used to add recipient certificates used to encrypt messages.
Syntax
async cms.addRecipientCert(certEncoded : Uint8Array): Promise<void>
Remarks
This method adds a public certificate used when Encrypt is called. Public certificates of recipients may be added using this method or by adding a certificate directly to the RecipientCerts property.
CertEncoded must contain the PEM or Base64 encoded public certificate.