mimeSrc | Object The MIME object to encrypt. | ||
privKey | Byte [ ] The private key of the party signing the message. | ||
signerCert | Byte [ ] The digital certificate of the party signing the message. | ||
certificates | Object [ ] (optional) The certificate chain of the party signing the message. The chain must be in hierarchical order starting with the signer's certificate in first element (element zero). The following shows a sample of a complete certificate chain if the signing party's certificate was signed by two intermediate certifying authorities (CAs). In the below list, for example, 0 is the element and Signer's certificate is the content. ![]() ![]() ![]() ![]() Typically you should specify certificates. You can omit it only if the party receiving the message is able to process this signature without an accompanying certificate chain. | ||
explicit | String (optional) Whether to generate an implicit or explicit signature. Valid values are: ![]() ![]() | ||
recipientCerts | Object [ ] The X.509 certificates to use to encrypt the data. The certificates should be the certificates of the recipients for whom you are encrypting this message. Each element in the Object[] should contain a certificate for a single recipient (in the form of a byte array).
|
mimeData | Object A MIME object containing the signed message. |