Framework EDI Reference. Constants |
|
Encryption Format Type Constants |
Encryption Format Type Constants specify the resulting
format of the encrypted document.
- EncryptFormat_EncryptedKey
(1) – The format of the encrypted file is generated as follows:
- A session key is generated and used to encrypt the file using a
symmetric encryption algorithm.
- The symmetric key is then encrypted using a public key.
- The encrypted key is then prepended at the beginning of the encrypted
file.
- EncryptFormat_EnvelopedData
(2) – Enveloped-data content type. The file is encrypted and encoded
to the EnvelopedData type format.
For additional information on the enveloped-data content type, please refer to RFC 2315 - PKCS #7: Cryptographic Message Syntax
Version 1.5.