|
static bool | EncryptFileWithEmbeddedDRPolicy (string sourceFileName, string destFileName, byte[] encryptIV, byte[] encryptKey, DRPolicyData policy, out string lastError) |
| Create an encrypted file with embedded digital right policy, distribute the encrypted file via internet, only the authorized users and processes can access the encrypted file. More...
|
|
static bool | ProcessSecureShareFile (string fileName, out string lastError) |
| Process the encrypted file's embedded access policy, remove embedded information, add AESTagData to encrypted file, Create a filter driver aware encrypted file. Then you can read the encrypted file transparently via filter driver encryption engine. More...
|
|
static T | DecryptStrToObject< T > (string toDeserialize) |
|
static string | EncryptObjectToStr< T > (T toSerialize) |
|
Definition at line 171 of file DigitalRightControl.cs.
◆ DecryptStrToObject< T >()
static T EaseFilter.CommonObjects.DigitalRightControl.DecryptStrToObject< T > |
( |
string |
toDeserialize | ) |
|
|
static |
◆ EncryptFileWithEmbeddedDRPolicy()
static bool EaseFilter.CommonObjects.DigitalRightControl.EncryptFileWithEmbeddedDRPolicy |
( |
string |
sourceFileName, |
|
|
string |
destFileName, |
|
|
byte [] |
encryptIV, |
|
|
byte [] |
encryptKey, |
|
|
DRPolicyData |
policy, |
|
|
out string |
lastError |
|
) |
| |
|
static |
Create an encrypted file with embedded digital right policy, distribute the encrypted file via internet, only the authorized users and processes can access the encrypted file.
- Parameters
-
fileName | |
passPhrase | |
policy | |
lastError | |
- Returns
Definition at line 296 of file DigitalRightControl.cs.
◆ EncryptObjectToStr< T >()
static string EaseFilter.CommonObjects.DigitalRightControl.EncryptObjectToStr< T > |
( |
T |
toSerialize | ) |
|
|
static |
◆ ProcessSecureShareFile()
static bool EaseFilter.CommonObjects.DigitalRightControl.ProcessSecureShareFile |
( |
string |
fileName, |
|
|
out string |
lastError |
|
) |
| |
|
static |
Process the encrypted file's embedded access policy, remove embedded information, add AESTagData to encrypted file, Create a filter driver aware encrypted file. Then you can read the encrypted file transparently via filter driver encryption engine.
- Parameters
-
fileName | |
passPhrase | |
lastError | |
- Returns
Definition at line 357 of file DigitalRightControl.cs.
◆ AES_VERIFICATION_KEY
const uint EaseFilter.CommonObjects.DigitalRightControl.AES_VERIFICATION_KEY = 0xccb76e80 |
◆ PassPhrase
string EaseFilter.CommonObjects.DigitalRightControl.PassPhrase = string.Empty |
|
static |
◆ SECURE_SHARE_FILE_EXTENSION
string EaseFilter.CommonObjects.DigitalRightControl.SECURE_SHARE_FILE_EXTENSION = ".psf" |
|
static |
◆ WorkingFolder
string EaseFilter.CommonObjects.DigitalRightControl.WorkingFolder = string.Empty |
|
static |
The documentation for this class was generated from the following file: