envStream | java.io.InputStream MIME message that you want to encrypt (for example, the output produced by pub.mime:getEnvelopeStream). |
recipientCerts | byte[ ][ ] The X.509 certificates of the recipients for whom this message will be encrypted. Each element in the list represents a certificate for a single recipient in the form of a byte[ ]. Note: When you have multiple recipients, createEncryptedData creates a single message that is encrypted for all recipients. It does not create a separate message for each recipient. |
encryptionAlg | String Optional. Code specifying the encryption algorithm to use. Must be TripleDES (default), DES, or RC2. |
keyLength | String Optional. Length of the encryption key for RC2 encryption. Must be 40, 64, or 128 (default). This parameter is ignored if encryptionAlg is not RC2. |
SMimeEnvStream | java.io.InputStream The encrypted MIME message. |