Namespace: Org.BouncyCastle.Bcpg.OpenPgp
Assembly: ITextSharp (in ITextSharp.dll) Version: 4.1.6.0

Syntax

C#
public class PgpKeyPair
Visual Basic
Public Class PgpKeyPair
Visual C++
public ref class PgpKeyPair

Remarks

General class to handle JCA key pairs and convert them into OpenPGP ones.

A word for the unwary, the KeyId for an OpenPGP public key is calculated from a hash that includes the time of creation, if you pass a different date to the constructor below with the same public private key pair the KeyIs will not be the same as for previous generations of the key, so ideally you only want to do this once.

Inheritance Hierarchy

System..::..Object
  Org.BouncyCastle.Bcpg.OpenPgp..::..PgpKeyPair

See Also