Discuss this help topic in SecureBlackbox Forum

TElPGPPublicKey.AddSubkey

TElPGPPublicKey     See also     


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


Adds the subkey to the current key.

Declaration

[C#/Java]
    int AddSubkey(TElPGPPublicSubkey Subkey);

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

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

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

[PHP]
    integer AddSubkey(TElPGPPublicSubkey $Subkey)

Parameters

  • Subkey - subkey to be added.

Return value

    Index of the newly added subkey.

Description

    Use this method when you want to add a subkey to the public key. Note, that new instance of TElPGPPublicSubkey 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