The public key contained in the object.

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

Syntax

C#
public AsymmetricKeyParameter GetKey()
Visual Basic
Public Function GetKey As AsymmetricKeyParameter
Visual C++
public:
AsymmetricKeyParameter^ GetKey()

Return Value

A lightweight public key.

Exceptions

ExceptionCondition
Org.BouncyCastle.Bcpg.OpenPgp..::..PgpExceptionIf the key algorithm is not recognised.

See Also