Deletes the key pair (public and private key) from this key store that have the specified keyId.

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

Syntax

C#
public virtual bool DeleteKeyPair(
	long keyId
)
Visual Basic
Public Overridable Function DeleteKeyPair ( _
	keyId As Long _
) As Boolean
Visual C++
public:
virtual bool DeleteKeyPair(
	long long keyId
)

Parameters

keyId
Type: System..::..Int64
Key Id of the key pair

Return Value

true if key pair is deleted, false if there is no key pair with the specified key Id

See Also