Discuss this help topic in SecureBlackbox Forum

TElPGPSecretKey.AddSubkey

TElPGPSecretKey     See also     


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


Adds subkey to the secret key.

Declaration

[C#]
    int AddSubkey(TElPGPSecretSubkey Subkey);

[VB.NET]
    Function AddSubkey(ByVal Subkey As TElPGPSecretSubkey) As Integer

[Pascal]
    function AddSubkey(Subkey : TElPGPSecretSubkey) : integer;

[C++]
    int32_t AddSubkey(TElPGPSecretSubkey &Subkey);
    int32_t AddSubkey(TElPGPSecretSubkey *Subkey);

[PHP]
    integer AddSubkey(TElPGPSecretSubkey $Subkey)

[Java]
    int addSubkey(TElPGPSecretSubkey Subkey);

Parameters

  • Subkey - subkey to be added.

Return value

    Index of the newly added subkey.

Description

    Use this method when you need to add subkey to the secret key. Note, that new instance of TElPGPPrivateSubkey is created, the contents of Subkey parameter are put to this instance and then new instance is added to the list.

See also:     RemoveSubkey    

Discuss this help topic in SecureBlackbox Forum