C# Class Org.BouncyCastle.Bcpg.OpenPgp.PgpPublicKeyEncryptedData

A public key encrypted data object.
Inheritance: PgpEncryptedData
Show file Open project: nonorganic/dssnet Class Usage Examples

Public Methods

Method Description
GetDataStream ( PgpPrivateKey privKey ) : Stream

Return the decrypted data stream for the packet.

GetSymmetricAlgorithm ( PgpPrivateKey privKey ) : SymmetricKeyAlgorithmTag

Return the algorithm code for the symmetric algorithm used to encrypt the data.

Private Methods

Method Description
ConfirmCheckSum ( byte sessionInfo ) : bool
GetKeyCipher ( PublicKeyAlgorithmTag algorithm ) : IBufferedCipher
PgpPublicKeyEncryptedData ( PublicKeyEncSessionPacket keyData, InputStreamPacket encData ) : System
fetchSymmetricKeyData ( PgpPrivateKey privKey ) : byte[]

Method Details

GetDataStream() public method

Return the decrypted data stream for the packet.
public GetDataStream ( PgpPrivateKey privKey ) : Stream
privKey PgpPrivateKey
return Stream

GetSymmetricAlgorithm() public method

Return the algorithm code for the symmetric algorithm used to encrypt the data.
public GetSymmetricAlgorithm ( PgpPrivateKey privKey ) : SymmetricKeyAlgorithmTag
privKey PgpPrivateKey
return SymmetricKeyAlgorithmTag