C# Class Metropass.Core.PCL.Model.Kdb4.Writer.Kdb4Writer

Inheritance: IKdbWriter
Mostra file Open project: TheAngryByrd/MetroPass Class Usage Examples

Public Properties

Property Type Description
kdb4File Metropass.Core.PCL.Model.Kdb4.Kdb4File

Public Methods

Method Description
ConfigureStream ( Stream stream ) : Stream
Kdb4Writer ( Kdb4HeaderWriter headerWriter, IEncryptionEngine databaseEncryptor, IKeyTransformer keyTransformer, ICanSHA256Hash hasher, IGZipStreamFactory gZipFactory ) : System
Write ( PwDatabase databaseData, IFile databaseFile ) : System.Threading.Tasks.Task

Private Methods

Method Description
GenerateBytes ( int length ) : byte[]
ResetHeaderBytes ( ) : void

Method Details

ConfigureStream() public method

public ConfigureStream ( Stream stream ) : Stream
stream Stream
return Stream

Kdb4Writer() public method

public Kdb4Writer ( Kdb4HeaderWriter headerWriter, IEncryptionEngine databaseEncryptor, IKeyTransformer keyTransformer, ICanSHA256Hash hasher, IGZipStreamFactory gZipFactory ) : System
headerWriter Kdb4HeaderWriter
databaseEncryptor IEncryptionEngine
keyTransformer IKeyTransformer
hasher ICanSHA256Hash
gZipFactory IGZipStreamFactory
return System

Write() public method

public Write ( PwDatabase databaseData, IFile databaseFile ) : System.Threading.Tasks.Task
databaseData Metropass.Core.PCL.Model.PwDatabase
databaseFile IFile
return System.Threading.Tasks.Task

Property Details

kdb4File public_oe property

public Kdb4File,Metropass.Core.PCL.Model.Kdb4 kdb4File
return Metropass.Core.PCL.Model.Kdb4.Kdb4File