Discuss this help topic in SecureBlackbox Forum

TElPGPWriter.OnGetStubStream

TElPGPWriter     See also     


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


This event is fired when sfx-stub stream is needed.

Declaration

[C#/Java]
    event TSBPGPGetStubStreamEvent OnGetStubStream;
    delegate void TSBPGPGetStubStreamEvent(object Sender, ref System.IO.Stream Stream, ref bool FreeStub)

[VB.NET]
    Event OnGetStubStream As TSBPGPGetStubStreamEvent
    Delegate Sub TSBPGPGetStubStreamEvent(ByVal Sender As Object, ByRef Stream As System.IO.Stream, ByRef FreeStub As Boolean)

[Pascal]
    property OnGetStubStream : TSBPGPGetStubStreamEvent;
    TSBPGPGetStubStreamEvent = procedure(Sender: TObject; var Stream: TStream; var FreeStub: boolean) of object;

[C++]
    void get_OnGetStubStream(TSBPGPGetStubStreamEvent &pMethodOutResult, void * &pDataOutResult);
    void set_OnGetStubStream(TSBPGPGetStubStreamEvent pMethodValue, void * pDataValue);
    typedef void (SB_CALLBACK *TSBPGPGetStubStreamEvent)(void * _ObjectData, TObjectHandle Sender, TStreamHandle &Stream, int8_t &FreeStub);

[PHP]
    TSBPGPGetStubStreamEvent|callable|NULL get_OnGetStubStream()
    void set_OnGetStubStream(TSBPGPGetStubStreamEvent|callable|NULL $Value)
    callable TSBPGPGetStubStreamEvent(TObject $Sender, TStream &$Stream, bool &$FreeStub)

Parameters

  • Stream - newly created stream to be used by the writer.
  • FreeStub - If True, the Stream will be destroyed by TElPGPWriter automatically.Otherwise, the stream should be destroyed by the application.

Description

    This event is fired by TElPGPWriter when a stream is needed for sfx-stub. A newly created stream should be provided via Stream parameter.

See also:     StubSource    

Discuss this help topic in SecureBlackbox Forum