EaseFilter Demo Project
EaseFilter.CommonObjects.DigitalRightControl Class Reference

Static Public Member Functions

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)
 

Public Attributes

const uint AES_VERIFICATION_KEY = 0xccb76e80
 

Static Public Attributes

static string SECURE_SHARE_FILE_EXTENSION = ".psf"
 
static string WorkingFolder = string.Empty
 
static string PassPhrase = string.Empty
 

Detailed Description

Definition at line 171 of file DigitalRightControl.cs.

Member Function Documentation

◆ DecryptStrToObject< T >()

static T EaseFilter.CommonObjects.DigitalRightControl.DecryptStrToObject< T > ( string  toDeserialize)
static

Definition at line 446 of file DigitalRightControl.cs.

◆ 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 > ( toSerialize)
static

Definition at line 455 of file DigitalRightControl.cs.

◆ 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.

Member Data Documentation

◆ AES_VERIFICATION_KEY

const uint EaseFilter.CommonObjects.DigitalRightControl.AES_VERIFICATION_KEY = 0xccb76e80

Definition at line 174 of file DigitalRightControl.cs.

◆ PassPhrase

string EaseFilter.CommonObjects.DigitalRightControl.PassPhrase = string.Empty
static

Definition at line 176 of file DigitalRightControl.cs.

◆ SECURE_SHARE_FILE_EXTENSION

string EaseFilter.CommonObjects.DigitalRightControl.SECURE_SHARE_FILE_EXTENSION = ".psf"
static

Definition at line 173 of file DigitalRightControl.cs.

◆ WorkingFolder

string EaseFilter.CommonObjects.DigitalRightControl.WorkingFolder = string.Empty
static

Definition at line 175 of file DigitalRightControl.cs.


The documentation for this class was generated from the following file:

Social Network


Services Overview

Architect, implement and test file system filter drivers for a wide range of functionality. We can offer several levels of assistance to meet your specific.

Contact Us

You are welcome to contact us for salse or partnership.

Sales: sales@easefilter.com
Support: support@easefilter.com
Info: info@easefilter.com