Discuss this help topic in SecureBlackbox Forum

TElPGPReader.DecryptAndVerifyFile

TElPGPReader     See also     


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


Processes PGP-message from file.

Declaration

[C#]
    void DecryptAndVerifyFile(string ASourceFile);

[VB.NET]
    Sub DecryptAndVerifyFile(ByVal ASourceFile As String)

[Pascal]
    procedure DecryptAndVerifyFile(ASourceFile: string);

[C++]
    void DecryptAndVerifyFile(const std::string &ASourceFile);

[PHP]
    void DecryptAndVerifyFile(string $ASourceFile)

[Java]
    void decryptAndVerifyFile(String ASourceFile);

Parameters

  • ASourceFile - file to be processed.

Description

    This method processes data from ASourceFile. TElPGPReader reads portion of data and tries to decrypt and/or verify it. If all these operations were successful it fires OnRequestOutputFile event. File for output data has to be created in this event handler. Name of this file is specified by OutputFile property. Then TElPGPReader will read rest of input data and store clear processed data in the created output file.

    If there's signed data in ASourceFile, then Verify() fires OnSigned and OnSignatures events. OnSigned lets you know the IDs of the keys, used for verification. Verification results are passed via OnSignatures event.

See also:     VerifyDetached    

Discuss this help topic in SecureBlackbox Forum