C# Класс Keyczar.PbeKeySetWriter

Password Based Encrypted Key Set
Наследование: IKeySetWriter, IDisposable
Показать файл Открыть проект

Открытые методы

Метод Описание
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.

Защищенные методы

Метод Описание
Dispose ( bool disposing ) : void

Releases unmanaged and - optionally - managed resources.

Описание методов

Dispose() публичный Метод

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public Dispose ( ) : void
Результат void

Dispose() защищенный Метод

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.
Результат void

Finish() публичный Метод

Finishes this writing of the key.
public Finish ( ) : bool
Результат bool

PbeKeySetWriter() публичный Метод

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.
Результат System

Write() публичный Метод

Writes the specified metadata.
public Write ( KeyMetadata metadata ) : void
metadata KeyMetadata The metadata.
Результат void

Write() публичный Метод

Writes the specified key data.
public Write ( byte keyData, int version ) : void
keyData byte The key data.
version int The version.
Результат void