Discuss this help topic in SecureBlackbox Forum

TElPGPKeyring.RemoveSecretKey

TElPGPKeyring     See also     


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


Removes one of the secret key from the key ring.

Declaration

[C#]
    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)

[Java]
    boolean removeSecretKey(int Index);
    boolean removeSecretKey(TElPGPSecretKey Key);

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