EaseFilter Demo Project
EaseFilter.CommonObjects.EncryptionHandler Class Reference

Static Public Member Functions

static bool EncryptFileWithEmbeddedPolicy (string fileName, string passPhrase, AESAccessPolicy policy, out string lastError)
 Create an encrypted file with embedded access control policy, distribute the encrypted file via internet, only the authorized users and processes can access the encrypted file. More...
 
static bool ConvertFileToFilterDriverAwareEncryptFile (string fileName, string passPhrase, 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 bool EncryptFileAndEmbedExpireTime (string fileName, string passPhrase, DateTime expireTimeUtc, out string lastError)
 
static bool ProcessEncryptedFile (string sourceFileName, string destFileName, out string lastError)
 

Public Attributes

const uint AES_VERIFICATION_KEY = 0xccb76e80
 

Static Public Attributes

static string WorkingFolder = string.Empty
 
static string PassPhrase = string.Empty
 

Detailed Description

Definition at line 65 of file EncryptionHandler.cs.

Member Function Documentation

◆ ConvertFileToFilterDriverAwareEncryptFile()

static bool EaseFilter.CommonObjects.EncryptionHandler.ConvertFileToFilterDriverAwareEncryptFile ( string  fileName,
string  passPhrase,
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 199 of file EncryptionHandler.cs.

◆ EncryptFileAndEmbedExpireTime()

static bool EaseFilter.CommonObjects.EncryptionHandler.EncryptFileAndEmbedExpireTime ( string  fileName,
string  passPhrase,
DateTime  expireTimeUtc,
out string  lastError 
)
static

Definition at line 281 of file EncryptionHandler.cs.

◆ EncryptFileWithEmbeddedPolicy()

static bool EaseFilter.CommonObjects.EncryptionHandler.EncryptFileWithEmbeddedPolicy ( string  fileName,
string  passPhrase,
AESAccessPolicy  policy,
out string  lastError 
)
static

Create an encrypted file with embedded access control 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 80 of file EncryptionHandler.cs.

◆ ProcessEncryptedFile()

static bool EaseFilter.CommonObjects.EncryptionHandler.ProcessEncryptedFile ( string  sourceFileName,
string  destFileName,
out string  lastError 
)
static

Definition at line 329 of file EncryptionHandler.cs.

Member Data Documentation

◆ AES_VERIFICATION_KEY

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

Definition at line 67 of file EncryptionHandler.cs.

◆ PassPhrase

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

Definition at line 69 of file EncryptionHandler.cs.

◆ WorkingFolder

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

Definition at line 68 of file EncryptionHandler.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