Method | Description | |
---|---|---|
DPAPIEngine ( DPAPIKeyType keyType ) : System |
Initializes a new instance of the DPAPIEngine object.
|
|
Decrypt ( byte cipherText ) : byte[] |
Decrypts the specified cipher text.
|
|
Decrypt ( string cipherText ) : string |
Decrypts the specified cipher text.
|
|
Dispose ( ) : void |
|
|
Encrypt ( byte plaintext ) : byte[] |
Encrypts the specified plain text to a byte array.
|
|
Encrypt ( string plaintext ) : string |
Encrypts the specified plain text to a string.
|
|
GetSetting ( string key ) : string |
|
|
GetSqlConnectionString ( string key ) : System.Data.SqlClient.SqlConnectionStringBuilder |
|
|
SetEncoding ( |
Sets character encoding to use during encryption/decryption.
|
|
SetEntropy ( |
Sets additional entropy used for encryption/decryption
|
|
SetEntropy ( string entropy ) : |
Sets additional entropy used for encryption/decryption
|
Method | Description | |
---|---|---|
CryptProtectData ( DPAPINativeDataBlob &plainText, string description, DPAPINativeDataBlob &entropy, |
||
CryptUnprotectData ( DPAPINativeDataBlob &cipherText, string &description, DPAPINativeDataBlob &entropy, |
||
DPAPIDecrypt ( byte cipherText, byte entropy ) : byte[] | ||
DPAPIEncrypt ( DPAPIKeyType keyType, byte plainTextBytes, byte entropyBytes ) : byte[] | ||
Dispose ( bool disposing ) : void | ||
GetSecureConfigSection ( ) : SecureSection | ||
ToSecureString ( IEnumerable |
||
ToString ( |
public DPAPIEngine ( DPAPIKeyType keyType ) : System | ||
keyType | DPAPIKeyType | Defines the method ( |
return | System |
public Decrypt ( byte cipherText ) : byte[] | ||
cipherText | byte | The cipher text. |
return | byte[] |
public Decrypt ( string cipherText ) : string | ||
cipherText | string | The cipher text. |
return | string |
public Encrypt ( byte plaintext ) : byte[] | ||
plaintext | byte | The plain text to encrypt. |
return | byte[] |
public Encrypt ( string plaintext ) : string | ||
plaintext | string | The plain text to encrypt. |
return | string |
public GetSqlConnectionString ( string key ) : System.Data.SqlClient.SqlConnectionStringBuilder | ||
key | string | |
return | System.Data.SqlClient.SqlConnectionStringBuilder |
public SetEncoding ( |
||
encoding | Character encoding to use during encryption/decryption. | |
return |
public SetEntropy ( |
||
entropy | Additional entropy used for encryption/decryption | |
return |
public SetEntropy ( string entropy ) : |
||
entropy | string | Additional entropy used for encryption/decryption |
return |