Discuss this help topic in SecureBlackbox Forum

TElPGPWriter.OnGetStubStream

TElPGPWriter     See also     


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


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

Declaration

[C#]
    event TSBPGPGetStubStreamEvent OnGetStubStream;
    delegate void TSBPGPGetStubStreamEvent(Object Sender, out System.IO.Stream Stream, out bool FreeStub);

[VB.NET]
    Event OnGetStubStream As TSBPGPGetStubStreamEvent
    Delegate Sub TSBPGPGetStubStreamEvent(ByVal Sender As Object, Out Stream As System.IO.Stream, Out 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)

[Java]
    not available

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