Discuss this help topic in SecureBlackbox Forum


TElPGPSecretKey     See also     

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

Starts asynchronous operation of generation of new key pair.


    void BeginGenerate(int KeyBits, int KeyAlgorithm, int SubkeyBits, int SubkeyAlgorithm);
    void BeginGenerate(int Bits, int Algorithm);

    Sub BeginGenerate(ByVal KeyBits As Integer, ByVal KeyAlgorithm As Integer, ByVal SubkeyBits As Integer, ByVal SubkeyAlgorithm As Integer)
    Sub BeginGenerate(ByVal Bits As Integer, ByVal Algorithm As Integer)

    procedure BeginGenerate(KeyBits : integer; KeyAlgorithm : TSBPGPPublicKeyAlgorithm);
    procedure BeginGenerate(KeyBits : integer; KeyAlgorithm : TSBPGPPublicKeyAlgorithm; SubkeyBits : integer; SubkeyAlgorithm : TSBPGPPublicKeyAlgorithm);

    void BeginGenerate(int32_t KeyBits, int32_t KeyAlgorithm, int32_t SubkeyBits, int32_t SubkeyAlgorithm);

    void BeginGenerate(integer $KeyBits, integer $KeyAlgorithm, integer $SubkeyBits, integer $SubkeyAlgorithm)
    void BeginGenerate(integer $Bits, integer $Algorithm)


  • KeyBits - key length in bits.
  • KeyAlgorithm - encryption algorithm.
  • SubkeyBits - subkey length in bits.
  • SubkeyAlgorithm - encryption algorithm of the subkey.
  • Bits - ...
  • Algorithm - ...

Public key algorithm values


    Use this method to start generating new key pair asynchronously.

    Use AsyncOperationFinished method to check when the operation is finished. Call EndGenerate to complete the asynchronous operation.

See also:     AsyncOperationFinished     EndGenerate    

Discuss this help topic in SecureBlackbox Forum