Méthode | 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
|
Méthode | 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 ( |
Résultat | System |
public Decrypt ( byte cipherText ) : byte[] | ||
cipherText | byte | The cipher text. |
Résultat | byte[] |
public Decrypt ( string cipherText ) : string | ||
cipherText | string | The cipher text. |
Résultat | string |
public Encrypt ( byte plaintext ) : byte[] | ||
plaintext | byte | The plain text to encrypt. |
Résultat | byte[] |
public Encrypt ( string plaintext ) : string | ||
plaintext | string | The plain text to encrypt. |
Résultat | string |
public GetSqlConnectionString ( string key ) : System.Data.SqlClient.SqlConnectionStringBuilder | ||
key | string | |
Résultat | System.Data.SqlClient.SqlConnectionStringBuilder |
public SetEncoding ( |
||
encoding | Character encoding to use during encryption/decryption. | |
Résultat |
public SetEntropy ( |
||
entropy | Additional entropy used for encryption/decryption | |
Résultat |
public SetEntropy ( string entropy ) : |
||
entropy | string | Additional entropy used for encryption/decryption |
Résultat |