Discuss this help topic in SecureBlackbox Forum

TElPGPCustomPublicKey.PrepareForEncryption

TElPGPCustomPublicKey     See also     


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


Starts asynchronous "prepare for encryption" operation

Declaration

[C#/Java]
    virtual void PrepareForEncryption(bool MultiUse /* = false */);

[VB.NET]
    Overridable Sub PrepareForEncryption(ByVal MultiUse As Boolean = 0)

[Pascal]
    procedure PrepareForEncryption(MultiUse : boolean = 0); virtual;

[C++]
    void PrepareForEncryption(bool MultiUse);

[PHP]
    void PrepareForEncryption(bool $MultiUse)

Parameters

  • MultiUse - specifies if the prepared key should be reused for consequent encryption operations.If MultiUse is False, the key should be prepared explicitly before each encryption operation.If MultiUse is True, the prepared key can be reused for several consequent operations.
    Note, that use of the same key for a large number of cryptooperations is not recommended due to possible security leak.

Description

    Use this method to start asynchronous pre-computation operation. This method performs time-consuming parts of encryption operation asynchronously.

See also:     CancelPreparation    

Discuss this help topic in SecureBlackbox Forum