Class PublicKeyEncSessionPacket
- Namespace
- Org.BouncyCastle.Bcpg
- Assembly
- BouncyCastle.Cryptography.dll
public class PublicKeyEncSessionPacket : ContainedPacket
- Inheritance
-
PublicKeyEncSessionPacket
- Inherited Members
Remarks
Basic packet for a PGP public key.
Constructors
PublicKeyEncSessionPacket(long, PublicKeyAlgorithmTag, byte[][])
public PublicKeyEncSessionPacket(long keyId, PublicKeyAlgorithmTag algorithm, byte[][] data)
Parameters
keyIdlongalgorithmPublicKeyAlgorithmTagdatabyte[][]
Properties
Algorithm
public PublicKeyAlgorithmTag Algorithm { get; }
Property Value
KeyId
public long KeyId { get; }
Property Value
Version
public int Version { get; }
Property Value
Methods
Encode(BcpgOutputStream)
public override void Encode(BcpgOutputStream bcpgOut)
Parameters
bcpgOutBcpgOutputStream
GetEncSessionKey()
public byte[][] GetEncSessionKey()
Returns
- byte[][]