mimeSrc | Object The MIME object to encrypt. |
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). Note: When you have multiple recipients, this service creates a single message that is encrypted for all recipients. It does not create a separate message for each recipient. |
encryptionAlg | String The encryption algorithm to use. Specify one of the following values: TripleDES, DES, AES, or RC2. The default is TripleDES. |
keyLength | String The length of the encryption key for RC2 and AES encryption. Specify one of the following values: RC2 - 40, 64, or 128. Default is 128. AES - 128, 192, or 256. Default is 128 DES - 128. TripleDES- 128. Note: If you provide a value other than the one specified above, then Trading Networks uses 128 as the keyLength value. |
mimeData | Object A MIME object containing the encrypted message. |