C# Class Keyczar.EncryptedKeySetWriter

Encrypts a keys before passing them to another keysetwriter
Inheritance: IKeySetWriter
Mostrar archivo Open project: jbtule/keyczar-dotnet

Public Methods

Method Description
EncryptedKeySetWriter ( IKeySetWriter writer, Encrypter encrypter ) : System.Linq

Initializes a new instance of the EncryptedKeySetWriter class.

Finish ( ) : bool

Finishes this writing of the key.

Write ( KeyMetadata metadata ) : void

Writes the specified metadata.

Write ( byte keyData, int version ) : void

Writes the specified key data.

Method Details

EncryptedKeySetWriter() public method

Initializes a new instance of the EncryptedKeySetWriter class.
public EncryptedKeySetWriter ( IKeySetWriter writer, Encrypter encrypter ) : System.Linq
writer IKeySetWriter The writer.
encrypter Encrypter The encrypter.
return System.Linq

Finish() public method

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

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