Discuss this help topic in SecureBlackbox Forum

TElSSHKey.Generate

TElSSHKey     See also     


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


This method generates new key.

Declaration

[C#/Java]
    int Generate(int Algorithm, int Bits);

[VB.NET]
    Function Generate(ByVal Algorithm As Integer, ByVal Bits As Integer) As Integer

[Pascal]
    function Generate(Algorithm : integer; Bits : integer;) : integer;

[C++]
    int32_t Generate(int32_t Algorithm, int32_t Bits);

[PHP]
    integer Generate(integer $Algorithm, integer $Bits)

Parameters

  • Algorithm - algorithm for which key is generated
  • Bits - key length in bits

Return value

    0 - on success.
    Error code otherwise.

Description

    Use this method to generate new key based on specified algorithm.

See also:     Import    

Discuss this help topic in SecureBlackbox Forum