Integration Server 10.15 | Built-In Services Reference Guide | SMIME Folder | Summary of Elements in this Folder | pub.smime:createSignedData
 
pub.smime:createSignedData
WmPublic. Deprecated - Replaced by pub.smime.keystore:createSignedData. Digitally signs a MIME message.
Input Parameters
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.
Output Parameters
SMimeEnvStream
java.io.InputStream The signed MIME message.
Usage Notes
This service is superseded by pub.smime.keystore:createSignedData.
For general information about MIME messages and using the MIME services, see the MIME-S/MIME Developer’s Guide.
See Also
pub.smime:createEncryptedData
pub.mime:getEnvelopeStream