Return the PGP public key associated with the given key id.

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

Syntax

C#
public PgpPublicKey GetPublicKey(
	long keyId
)
Visual Basic
Public Function GetPublicKey ( _
	keyId As Long _
) As PgpPublicKey
Visual C++
public:
PgpPublicKey^ GetPublicKey(
	long long keyId
)

Parameters

keyId
Type: System..::..Int64
The ID of the public key to return.

See Also