C# Class Org.BouncyCastle.Bcpg.S2k

The string to key specifier class.
Inheritance: BcpgObject
Afficher le fichier Open project: nonorganic/dssnet Class Usage Examples

Méthodes publiques

Méthode Description
Encode ( BcpgOutputStream bcpgOut ) : void
GetIV ( ) : byte[]

The IV for the key generation algorithm.

S2k ( HashAlgorithmTag algorithm ) : System
S2k ( HashAlgorithmTag algorithm, byte iv ) : System
S2k ( HashAlgorithmTag algorithm, byte iv, int itCount ) : System

Private Methods

Méthode Description
GetIterationCount ( ) : long
S2k ( Stream inStr ) : System

Method Details

Encode() public méthode

public Encode ( BcpgOutputStream bcpgOut ) : void
bcpgOut BcpgOutputStream
Résultat void

GetIV() public méthode

The IV for the key generation algorithm.
public GetIV ( ) : byte[]
Résultat byte[]

S2k() public méthode

public S2k ( HashAlgorithmTag algorithm ) : System
algorithm HashAlgorithmTag
Résultat System

S2k() public méthode

public S2k ( HashAlgorithmTag algorithm, byte iv ) : System
algorithm HashAlgorithmTag
iv byte
Résultat System

S2k() public méthode

public S2k ( HashAlgorithmTag algorithm, byte iv, int itCount ) : System
algorithm HashAlgorithmTag
iv byte
itCount int
Résultat System