The public key contained in the object.
Namespace: Org.BouncyCastle.Bcpg.OpenPgpAssembly: 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
| Exception | Condition |
|---|---|
| Org.BouncyCastle.Bcpg.OpenPgp..::..PgpException | If the key algorithm is not recognised. |