C# Class Org.BouncyCastle.Bcpg.OpenPgp.PgpEncryptedDataGenerator.PbeMethod

Inheritance: EncMethod
Show file Open project: nonorganic/dssnet

Public Methods

Method Description
AddSessionInfo ( byte si, SecureRandom random ) : void
Encode ( BcpgOutputStream pOut ) : void
GetKey ( ) : KeyParameter

Private Methods

Method Description
PbeMethod ( SymmetricKeyAlgorithmTag encAlgorithm, S2k s2k, KeyParameter key ) : System

Method Details

AddSessionInfo() public method

public AddSessionInfo ( byte si, SecureRandom random ) : void
si byte
random Org.BouncyCastle.Security.SecureRandom
return void

Encode() public method

public Encode ( BcpgOutputStream pOut ) : void
pOut BcpgOutputStream
return void

GetKey() public method

public GetKey ( ) : KeyParameter
return Org.BouncyCastle.Crypto.Parameters.KeyParameter