C# Class Keyczar.PbeKeySetWriter

Password Based Encrypted Key Set
Inheritance: IKeySetWriter, IDisposable
Mostrar archivo Open project: jbtule/keyczar-dotnet

Public Methods

Method 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.

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Releases unmanaged and - optionally - managed resources.

Method Details

Dispose() public method

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

Dispose() protected method

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.
return void

Finish() public method

Finishes this writing of the key.
public Finish ( ) : bool
return bool

PbeKeySetWriter() public method

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.
return System

Write() public method

Writes the specified metadata.
public Write ( KeyMetadata metadata ) : void
metadata KeyMetadata The metadata.
return void

Write() public method

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