EldoS
Navigation
Web site
Support
Table Of Contents

Filter: C#  VB.NET  Pascal  ActiveX  DLL 


TElPGPReader.OnCreateOutputStream

TElPGPReader     See also    


 

This event is fired when clear data must be processed.

 
 

Declaration

[C#]
    event TSBPGPCreateOutputStreamEvent OnCreateOutputStream;
    public delegate void TSBPGPCreateOutputStreamEvent(object Sender, string Filename, DateTime TimeStamp, ref System.IO.Stream Stream, ref bool FreeOnExit)

[VB.NET]
    Event OnCreateOutputStream As TSBPGPCreateOutputStreamEvent
    Delegate Sub TSBPGPCreateOutputStreamEvent(ByVal Sender As Object, ByVal Filename As String, ByVal TimeStamp As DateTime, ByRef Stream As System.IO.Stream, ByRef FreeOnExit As Boolean)

[Pascal]
    property OnCreateOutputStream : TSBPGPCreateOutputStreamEvent;
    TSBPGPCreateOutputStreamEvent = procedure(Sender: TObject; const Filename : string; TimeStamp: TDateTime; var Stream: TStream; var FreeOnExit: boolean);

[VB6]
    Event IElPGPReaderXEvents.OnCreateOutputStream( ByVal Filename As String, ByVal TimeStamp As DATE, ByRef Stream As IUnknown, ByRef FreeOnExit As Boolean)
    Event IElPGPReaderXEvents.OnCreateOutputFile( ByVal Filename As String, ByVal TimeStamp As DATE, ByRef Path As String)


[ActiveX]
    void IElPGPReaderXEvents.OnCreateOutputStream( [in] BSTR Filename, [in] DATE TimeStamp, [out] IUnknown ** Stream, [in, out] VARIANT_BOOL * FreeOnFinish);
    void IElPGPReaderXEvents.OnCreateOutputFile( [in] BSTR Filename, [in] DATE TimeStamp, [in, out] BSTR * Path);

[DLL]
    not implemented;
 
 

Parameters

  • FileName - file name (as specified in PGP-message). If its value is _CONSOLE, then message is for your eyes only and should not be saved to any file.
  • TimeStamp - time of last file modification (as specified in PGP-message).
  • Stream - stream for output data that is created by the event handler.
  • FreeOnExit - If True - Stream will be destroyed by TElPGPReader automatically.
    False - Stream will be freed manually by the application.
  • Path - path of the file, created by the event handler.
 
 

Description

    This event is fired by TElPGPReader when it has to process clear data and output stream must be created for this data. The application must allocate the stream and pass it back to PGPReader in Stream parameter.
    Filename and TimeStamp parameters can be empty if input message is cleartext-signed message.
    This event is fired only if message decryption is performed using DecryptAndVerify method.

[ActiveX]
    Note: The property expects an object which implements IStream interface.

 
 

See also:     OutputStream     OnRequestOutputFile     OnArmored     OnArmored     OnCompressed     OnEncrypted     OnKeyPassphrase     OnPassphrase     OnProgress     OnSigned    

 
Contact Us | Terms of Use | Trademarks | Privacy Statement
Copyright (c) 1998-2012, EldoS Corporation