C# Class Org.BouncyCastle.Crypto.CipherKeyGenerator

Show file Open project: nonorganic/dssnet Class Usage Examples

Protected Properties

Property Type Description
random Org.BouncyCastle.Security.SecureRandom
strength int

Public Methods

Method Description
CipherKeyGenerator ( ) : System
GenerateKey ( ) : byte[]
Init ( KeyGenerationParameters parameters ) : void

Protected Methods

Method Description
engineGenerateKey ( ) : byte[]
engineInit ( KeyGenerationParameters parameters ) : void

Private Methods

Method Description
CipherKeyGenerator ( int defaultStrength ) : System

Method Details

CipherKeyGenerator() public method

public CipherKeyGenerator ( ) : System
return System

GenerateKey() public method

public GenerateKey ( ) : byte[]
return byte[]

Init() public method

public Init ( KeyGenerationParameters parameters ) : void
parameters KeyGenerationParameters
return void

engineGenerateKey() protected method

protected engineGenerateKey ( ) : byte[]
return byte[]

engineInit() protected method

protected engineInit ( KeyGenerationParameters parameters ) : void
parameters KeyGenerationParameters
return void

Property Details

random protected property

protected SecureRandom,Org.BouncyCastle.Security random
return Org.BouncyCastle.Security.SecureRandom

strength protected property

protected int strength
return int