Discuss this help topic in SecureBlackbox Forum

TElPGPSecretKey.AddSubkey

TElPGPSecretKey     See also     


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


Adds subkey to the secret key.

Declaration

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

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