Exports Public key from this OpenPGP key store as a String in ASCII armored format.

Namespace: DidiSoft.Pgp
Assembly: DidiSoft.Pgp (in DidiSoft.Pgp.dll) Version: 1.7.3.35547

Syntax

C#
public virtual string ExportPublicKeyAsString(
	long keyId
)
Visual Basic
Public Overridable Function ExportPublicKeyAsString ( _
	keyId As Long _
) As String
Visual C++
public:
virtual String^ ExportPublicKeyAsString(
	long long keyId
)

Parameters

keyId
Type: System..::..Int64
Key Id of the Public Key

Return Value

requested Public key in ASCII armored format

Exceptions

ExceptionCondition
DidiSoft.Pgp.Exceptions..::..WrongPublicKeyExceptionIf there is no such key

See Also