Свойство | Тип | Описание | |
---|---|---|---|
WaitForDataReady | void |
Метод | Описание | |
---|---|---|
ExportKeyIV ( string password, int keySize ) : string |
Exports a key and initialization vector from the local system key cache. This method is used to manually export a key to be installed on another computer. |
|
GetCryptoKeyIV ( string password, int keySize ) : byte[][] |
Gets the crypto key and initialization vector for the given user password.
|
|
ImportKeyIV ( string password, int keySize, string keyIVText ) : void |
Imports a key and initialization vector into the local system key cache. This method is used to manually import a key created on another computer. |
|
KeyIVExists ( string password, int keySize ) : bool |
Determines if a key and initialization vector exists for the given password.
|
|
MergeLeft ( KeyIVCache other ) : void |
Merge keys and initialization vectors from another KeyIVCache, local cache taking precedence.
|
|
MergeRight ( KeyIVCache other ) : void |
Merge keys and initialization vectors from another KeyIVCache, other cache taking precedence.
|
|
Save ( ) : void |
Initiates inter-process synchronized save of key and initialization vector table.
|
Метод | Описание | |
---|---|---|
LoadFileData ( |
Handles deserialization of file from disk; virtual method allows customization (e.g., pre-load decryption and/or data merge). Consumers overriding this method should not directly call InterprocessCache.FileData property to avoid potential dead-locks. |
|
SaveFileData ( |
Handles serialization of file to disk; virtual method allows customization (e.g., pre-save encryption and/or data merge). Consumers overriding this method should not directly call InterprocessCache.FileData property to avoid potential dead-locks. |
Метод | Описание | |
---|---|---|
WaitForDataReady ( ) : void |
public ExportKeyIV ( string password, int keySize ) : string | ||
password | string | User password used for key lookup. |
keySize | int | Specifies the desired key size. |
Результат | string |
public GetCryptoKeyIV ( string password, int keySize ) : byte[][] | ||
password | string | User password used for key lookup. |
keySize | int | Specifies the desired key size. |
Результат | byte[][] |
public ImportKeyIV ( string password, int keySize, string keyIVText ) : void | ||
password | string | User password used for key lookups. |
keySize | int | Specifies the desired key size. |
keyIVText | string | Text based key and initialization vector to import into local key cache. |
Результат | void |
public KeyIVExists ( string password, int keySize ) : bool | ||
password | string | User password used for key lookups. |
keySize | int | Specifies the desired key size. |
Результат | bool |
protected LoadFileData ( |
||
fileStream | ||
Результат | byte[] |
public MergeLeft ( KeyIVCache other ) : void | ||
other | KeyIVCache | Other |
Результат | void |
public MergeRight ( KeyIVCache other ) : void | ||
other | KeyIVCache | Other |
Результат | void |
protected SaveFileData ( |
||
fileStream | ||
fileData | byte | File data to be serialized. |
Результат | void |