Create a key pair from a PgpPrivateKey and a PgpPublicKey.
Namespace: Org.BouncyCastle.Bcpg.OpenPgpAssembly: ITextSharp (in ITextSharp.dll) Version: 4.1.6.0
Syntax
| C# |
|---|
public PgpKeyPair( PgpPublicKey pub, PgpPrivateKey priv ) |
| Visual Basic |
|---|
Public Sub New ( _ pub As PgpPublicKey, _ priv As PgpPrivateKey _ ) |
| Visual C++ |
|---|
public: PgpKeyPair( PgpPublicKey^ pub, PgpPrivateKey^ priv ) |
Parameters
- pub
- Type: Org.BouncyCastle.Bcpg.OpenPgp..::..PgpPublicKey
The public key.
- priv
- Type: Org.BouncyCastle.Bcpg.OpenPgp..::..PgpPrivateKey
The private key.