Discuss this help topic in SecureBlackbox Forum

TElPGPCustomSecretKey.EndGenerate

TElPGPCustomSecretKey     See also     


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


Completes asynchronous generation of a new key pair.

Declaration

[C#]
    void EndGenerate(string Password, bool UseOldFormat, int Expires);

[VB.NET]
    Sub EndGenerate(ByVal Password As String, ByVal UseOldFormat As Boolean, ByVal Expires As Integer)

[Pascal]
    procedure EndGenerate(Password : string; UseOldFormat : boolean = true; Expires : integer = 0);
    TSBPGPPublicKeyAlgorithm = integer;

[C++]
    void EndGenerate(const std::string &Password, bool UseOldFormat, int32_t Expires);

[PHP]
    void EndGenerate(string $Password, bool $UseOldFormat, integer $Expires)

[Java]
    void endGenerate(String Password, boolean UseOldFormat, int Expires);

Parameters

  • Password - Password to protect the new key.
  • UseOldFormat - use old (PGP 2.x) or new format for the key.
  • Expires - time in days when the key expires. 0 - no expiration.

Values

Description

    Use this method to complete asynchronous generation of a new key pair.

    Call this method only if AsyncOperationFinished() returns true.

See also:     EncryptionAlgorithm     AsyncOperationFinished     BeginGenerate     CancelGeneration     Generate    

Discuss this help topic in SecureBlackbox Forum