Discuss this help topic in SecureBlackbox Forum

TElPGPKeyring.RemoveSecretKey

TElPGPKeyring     See also     


Filter: C#/Java  VB.NET  Pascal  C++  PHP  


Removes one of the secret key from the key ring.

Declaration

[C#/Java]
    bool RemoveSecretKey(TElPGPSecretKey Key);
    bool RemoveSecretKey(int Index);

[VB.NET]
    Function RemoveSecretKey(ByVal Key As TElPGPSecretKey) As Boolean
    Function RemoveSecretKey(ByVal Index As Integer) As Boolean

[Pascal]
    function RemoveSecretKey(Key : TElPGPSecretKey) : boolean;
    function RemoveSecretKey(Index : integer) : boolean;

[C++]
    bool RemoveSecretKey(TElPGPSecretKey &Key);
    bool RemoveSecretKey(TElPGPSecretKey *Key);
    bool RemoveSecretKey(int32_t Index);

[PHP]
    bool RemoveSecretKey(TElPGPSecretKey $Key)
    bool RemoveSecretKey(integer $Index)

Parameters

  • Key - secret key to be removed.
  • Index - index of the secret key to be removed.

Return value

     True on success.
     False otherwise.

Description

    Use this method when you need to remove secret key from the key ring.

See also:     AddSecretKeyByID     RemovePublicKey     Clear     Load     Save     SecretCount     SecretKeys    

Discuss this help topic in SecureBlackbox Forum