Discuss this help topic in SecureBlackbox Forum


TElPGPReader     See also     

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

This event is fired when output file name is not set.


    event TSBPGPRequestOutputFileEvent OnRequestOutputFile;
    delegate void TSBPGPRequestOutputFileEvent(Object Sender, string Filename, DateTime TimeStamp, ref string Path);

    Event OnRequestOutputFile As TSBPGPRequestOutputFileEvent
    Delegate Sub TSBPGPRequestOutputFileEvent(ByVal Sender As Object, ByVal Filename As String, ByVal TimeStamp As DateTime, ByRef Path As String)

    property OnRequestOutputFile : TSBPGPRequestOutputFileEvent;
    TSBPGPRequestOutputFileEvent = procedure(Sender: TObject; const Filename : string; TimeStamp: TDateTime; var Path: string);

    void get_OnRequestOutputFile(TSBPGPRequestOutputFileEvent &pMethodOutResult, void * &pDataOutResult);
    void set_OnRequestOutputFile(TSBPGPRequestOutputFileEvent pMethodValue, void * pDataValue);
    typedef void (SB_CALLBACK *TSBPGPRequestOutputFileEvent)(void * _ObjectData, TObjectHandle Sender, const char * pcFilename, int32_t szFilename, int64_t TimeStamp, char * pcPath, int32_t &szPath);

    TSBPGPRequestOutputFileEvent|callable|NULL get_OnRequestOutputFile()
    void set_OnRequestOutputFile(TSBPGPRequestOutputFileEvent|callable|NULL $Value)
    callable TSBPGPRequestOutputFileEvent(TObject $Sender, string $Filename, DateTime $TimeStamp, string &$Path)

    TSBPGPRequestOutputFileEvent getOnRequestOutputFile();
    void setOnRequestOutputFile(TSBPGPRequestOutputFileEvent Value);
    TSBPGPRequestOutputFileEvent.Callback OnRequestOutputFile = new TSBPGPRequestOutputFileEvent.Callback() {
        public void TSBPGPRequestOutputFileEventCallback(TObject Sender, String Filename, Date TimeStamp, TSBString Path) {


  • Filename - file name (as specified in PGP-message)
  • Timestamp - time of the file creation
  • Path - full path to the file to be created
  • pcFilename - file name (as specified in PGP-message)
  • szFilename - the length of pcFilename.
  • pcPath - full path to the file to be created
  • szPath - the length of pcPath.


    This event is fired by TElPGPReader when the output file is not set. The application must set full path (path + file name) to the output file and pass it back to PGPReader via Path parameter.
    This event is fired only if message decryption is performed using DecryptAndVerifyFile method.

See also:     OutputFile     OnCreateOutputStream     OnArmored     OnCompressed     OnEncrypted     OnKeyPassphrase     OnPassphrase     OnProgress     OnSigned    

Discuss this help topic in SecureBlackbox Forum