envStream | java.io.InputStream MIME message that you want to sign (for example, the output produced by
pub.mime:getEnvelopeStream). | |
privKey | byte[] Private key of the party signing the message. | |
certificates | byte[ ][ ] Optional. Certificate chain of the party that signed the message, where each byte[ ] represents a single certificate in the chain. Certificates must appear in hierarchical order, starting with the signer's certificate in element 0. The following shows how the elements of a complete chain would appear for a certificate that was issued through two intermediate CAs: | |
Element | Contents | |
0 | Signer's certificate. | |
1 | Intermediary CA Certificate. | |
2 | Intermediary CA Certificate. | |
3 | Root CA Certificate. | |
Although this parameter is optional, it should only be omitted if the party receiving the message is able to process this signature without an accompanying certificate chain. | ||
signerCert | byte[ ] Digital certificate of the party signing the message. | |
explicit | String Optional. Flag indicating whether an implicit or explicit signature is generated. Set to: true to generate an explicit (detached) signature. This is the default. false to generate an implicit signature. |
SMimeEnvStream | java.io.InputStream The signed MIME message. |