C# Class Keyczar.PbeKeySetWriter

Password Based Encrypted Key Set
Inheritance: IKeySetWriter, IDisposable
Afficher le fichier Open project: jbtule/keyczar-dotnet

Méthodes publiques

Méthode Description
Dispose ( ) : void

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

Finish ( ) : bool

Finishes this writing of the key.

PbeKeySetWriter ( IKeySetWriter writer, Func passwordPrompt, int iterationCount = 4096 ) : System

Initializes a new instance of the PbeKeySetWriter class.

Write ( KeyMetadata metadata ) : void

Writes the specified metadata.

Write ( byte keyData, int version ) : void

Writes the specified key data.

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void

Releases unmanaged and - optionally - managed resources.

Method Details

Dispose() public méthode

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public Dispose ( ) : void
Résultat void

Dispose() protected méthode

Releases unmanaged and - optionally - managed resources.
protected Dispose ( bool disposing ) : void
disposing bool true to release both managed and unmanaged resources; false to release only unmanaged resources.
Résultat void

Finish() public méthode

Finishes this writing of the key.
public Finish ( ) : bool
Résultat bool

PbeKeySetWriter() public méthode

Initializes a new instance of the PbeKeySetWriter class.
public PbeKeySetWriter ( IKeySetWriter writer, Func passwordPrompt, int iterationCount = 4096 ) : System
writer IKeySetWriter The writer.
passwordPrompt Func The password prompt.
iterationCount int The interations count.
Résultat System

Write() public méthode

Writes the specified metadata.
public Write ( KeyMetadata metadata ) : void
metadata KeyMetadata The metadata.
Résultat void

Write() public méthode

Writes the specified key data.
public Write ( byte keyData, int version ) : void
keyData byte The key data.
version int The version.
Résultat void