Deletes a private key with the specified key Id from this KeyStore.

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

Syntax

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

Parameters

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

Return Value

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

See Also