Inherits SystemIDisposable.
Public Member Functions | |
RMSEncryptData (bool is_encrypt_metadata, string publish_license, byte[][] server_eul_list, float irm_version) | |
Constructor, with parameters. More... | |
RMSEncryptData () | |
Constructor. | |
RMSEncryptData (RMSEncryptData other) | |
Constructor, with another RMSEncryptData object. More... | |
void | Set (bool is_encrypt_metadata, string publish_license, byte[][] server_eul_list, float irm_version) |
Set value. More... | |
This class represents some data used for class RMSSecurityHandler.
|
inline |
Constructor, with parameters.
is_encrypt_metadata | true means to encrypt metadata, and false means not to encrypt metadata. |
publish_license | The Encoded Publishing License issued from server to the Content publisher, in ASCII encoding. This should not be an empty string. This field contains the publishing license from Microsoft IRM services or a comparable IRM service. The original data of Publishing License should be compressed by Flate compression algorithm at first, and then encoded by Base-64 Encryption algorithm. Foxit PDF SDK offers functions in class common::Codec for Flate compression algorithm and Base-64 Encryption algorithm. Please refer to class common::Codec if necessary. |
server_eul_list | In this string array, the count of strings should be multiply of 2. 2 strings are in a pair, and each pair represents content of a dictionary object which is encoded Server EUL. For each pair, the first string is ServerID, and the second one is ServerEUL. The original data of Server ID and Server EUL should be compressed by Flate compression algorithm at first, and then encoded by Base-64 Encryption algorithm. Foxit PDF SDK offers functions in class common::Codec for Flate compression algorithm and Base-64 Encryption algorithm. Please refer to class common::Codec if necessary. An empty array means not use such information. |
irm_version | Microsoft IRM version. It should be above 1. If input version is below 1, Foxit PDF SDK will use 1 as version by default. |
|
inline |
Constructor, with another RMSEncryptData object.
other | Another RMSEncryptData object. |
|
inline |
Set value.
is_encrypt_metadata | true means to encrypt metadata, and false means not to encrypt metadata. |
publish_license | The Encoded Publishing License issued from server to the Content publisher, in ASCII encoding. This should not be an empty string. This field contains the publishing license from Microsoft IRM services or a comparable IRM service. The original data of Publishing License should be compressed by Flate compression algorithm at first, and then encoded by Base-64 Encryption algorithm. Foxit PDF SDK offers functions in class common::Codec for Flate compression algorithm and Base-64 Encryption algorithm. Please refer to class common::Codec if necessary. |
server_eul_list | In this string array, the count of strings should be multiply of 2. 2 strings are in a pair, and each pair represents content of a dictionary object which is encoded Server EUL. For each pair, the first string is ServerID, and the second one is ServerEUL. The original data of Server ID and Server EUL should be compressed by Flate compression algorithm at first, and then encoded by Base-64 Encryption algorithm. Foxit PDF SDK offers functions in class common::Codec for Flate compression algorithm and Base-64 Encryption algorithm. Please refer to class common::Codec if necessary. An empty array means not use such information. |
irm_version | Microsoft IRM version. It should be above 1. If input version is below 1, Foxit PDF SDK will use 1 as version by default. |