Class PgpPublicKeyEncryptedData
- Namespace
- Org.BouncyCastle.Bcpg.OpenPgp
- Assembly
- BouncyCastle.Cryptography.dll
public class PgpPublicKeyEncryptedData : PgpEncryptedData
- Inheritance
-
PgpPublicKeyEncryptedData
- Inherited Members
Remarks
A public key encrypted data object.
Properties
KeyId
The key ID for the key used to encrypt the data.
public long KeyId { get; }
Property Value
Methods
GetDataStream(PgpPrivateKey)
Return the decrypted data stream for the packet.
public Stream GetDataStream(PgpPrivateKey privKey)
Parameters
privKeyPgpPrivateKey
Returns
GetSymmetricAlgorithm(PgpPrivateKey)
Return the algorithm code for the symmetric algorithm used to encrypt the data.
public SymmetricKeyAlgorithmTag GetSymmetricAlgorithm(PgpPrivateKey privKey)
Parameters
privKeyPgpPrivateKey