Discuss this help topic in SecureBlackbox Forum

TElPGPSecretKey.BeginGenerate

TElPGPSecretKey     See also     


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


Starts asynchronous operation of generation of new key pair.

Declaration

[C#]
    void BeginGenerate(int KeyBits, int KeyAlgorithm, int SubkeyBits, int SubkeyAlgorithm);
    void BeginGenerate(int Bits, int Algorithm);

[VB.NET]
    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)

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

[C++]
    void BeginGenerate(int32_t KeyBits, int32_t KeyAlgorithm, int32_t SubkeyBits, int32_t SubkeyAlgorithm);

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

[Java]
    void beginGenerate(int KeyBits, int KeyAlgorithm, int SubkeyBits, int SubkeyAlgorithm);

Parameters

  • 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

Description

    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