C# Class Keyczar.Pbe.PbeKeyStore

Stores a key encrypted by password
Afficher le fichier Open project: jbtule/keyczar-dotnet Class Usage Examples

Private Properties

Свойство Type Description

Méthodes publiques

Méthode Description
DecryptKeyData ( Func passwordPrompt ) : byte[]

Decrypts the key data.

EncryptKeyData ( byte key, Func passwordPrompt, int iterationCount ) : PbeKeyStore

Encrypts the key data.

Méthodes protégées

Méthode Description
GetDerivedBytes ( int length, Func passwordPrompt ) : byte[]

Gets the derived bytes using the store's parameters

Method Details

DecryptKeyData() public méthode

Decrypts the key data.
public DecryptKeyData ( Func passwordPrompt ) : byte[]
passwordPrompt Func The passsword prompt.
Résultat byte[]

EncryptKeyData() public static méthode

Encrypts the key data.
public static EncryptKeyData ( byte key, Func passwordPrompt, int iterationCount ) : PbeKeyStore
key byte The key.
passwordPrompt Func The password prompt.
iterationCount int The interation count.
Résultat PbeKeyStore

GetDerivedBytes() protected méthode

Gets the derived bytes using the store's parameters
Hmac_Sha256 not supported.
protected GetDerivedBytes ( int length, Func passwordPrompt ) : byte[]
length int The length.
passwordPrompt Func The password prompt.
Résultat byte[]