Table of Contents

Class PgpKeyPair

Namespace
Enterprises.Org.BouncyCastle.Bcpg.OpenPgp
Assembly
Enterprises.BouncyCastle.Crypto.dll
public class PgpKeyPair
Inheritance
PgpKeyPair
Inherited Members

Constructors

PgpKeyPair(PgpPublicKey, PgpPrivateKey)

public PgpKeyPair(PgpPublicKey pub, PgpPrivateKey priv)

Parameters

pub PgpPublicKey
priv PgpPrivateKey

PgpKeyPair(PublicKeyAlgorithmTag, AsymmetricCipherKeyPair, DateTime)

public PgpKeyPair(PublicKeyAlgorithmTag algorithm, AsymmetricCipherKeyPair keyPair, DateTime time)

Parameters

algorithm PublicKeyAlgorithmTag
keyPair AsymmetricCipherKeyPair
time DateTime

PgpKeyPair(PublicKeyAlgorithmTag, AsymmetricKeyParameter, AsymmetricKeyParameter, DateTime)

public PgpKeyPair(PublicKeyAlgorithmTag algorithm, AsymmetricKeyParameter pubKey, AsymmetricKeyParameter privKey, DateTime time)

Parameters

algorithm PublicKeyAlgorithmTag
pubKey AsymmetricKeyParameter
privKey AsymmetricKeyParameter
time DateTime

Properties

KeyId

public long KeyId { get; }

Property Value

long

PrivateKey

public PgpPrivateKey PrivateKey { get; }

Property Value

PgpPrivateKey

PublicKey

public PgpPublicKey PublicKey { get; }

Property Value

PgpPublicKey