Discuss this help topic in SecureBlackbox Forum

TElSSHKey.Generate

TElSSHKey     See also     


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


This method generates new key.

Declaration

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

[Java]
    int generate(int Algorithm, int 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