Cloud Application Integration (On-Premises) : Integration Server Built-In Services : SMIME Folder : pub.smime:processEncryptedData
pub.smime:processEncryptedData
WmPublic. Deprecated - Replaced by pub.smime.keystore:processEncryptedData.
Decrypts an encrypted S/MIME message.
Input Parameters
SMimeEnvStream
java.io.InputStream The encrypted S/MIME entity (for example, the output produced by pub.smime:createEncryptedData).
recipientCert
byte[ ] Digital certificate of the party receiving the message.
privKey
byte[ ] Private key of the party receiving the message (that is, the party whose public key was used to encrypt the message).
Output Parameters
mimeData
Document MIME object containing the decrypted MIME message.
contentDigest
String Message digest of the encrypted content, base64-encoded. (Some sites return this digest to the sender to acknowledge their receipt of the message.)
encrypted
String Conditional. Flag indicating whether the decrypted MIME entity is encrypted. A value of:
*true indicates that the MIME entity is encrypted.
*false indicates that the MIME entity is not encrypted.
signed
String Conditional. Flag indicating whether the decrypted MIME entity is signed. A value of:
*true indicates that the MIME entity is signed.
*false indicates that the MIME entity is not signed.
certsOnly
String Conditional. Flag indicating whether the decrypted MIME entity is a certs-only entity. A value of:
*true indicates that the MIME entity is a certs-only entity.
*false indicates that the MIME entity is not a certs-only entity.
stream
java.io.InputStream Conditional. The decrypted MIME entity.
Usage Notes
This service is superseded by pub.smime.keystore:processEncryptedData.
If the decrypted message is signed or encrypted, mimeData will be empty, and the decrypted message will reside in stream. You can check the state of the signed and encrypted output variables to determine whether the decrypted message requires additional processing, and pass stream to the pub.smime:processSignedData or pub.smime:processEncryptedData service as necessary.
Important:  
You can examine the contents of mimeData during testing and debugging. However, because the internal structure of mimeData is subject to change without notice, do not explicitly set or map data to/from these elements in your service. To manipulate or access the contents of mimeData, use only the MIME services that Integration Server provides.
See Also
pub.smime:processSignedData
pub.smime:createEncryptedData
Copyright © 2015- 2017 Software AG, Darmstadt, Germany. (Innovation Release)

Product LogoContact Support   |   Community   |   Feedback