Discuss this help topic in SecureBlackbox Forum

TElPGPReader.OnArmored

TElPGPReader     See also     


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


This event is fired after armored data was processed.

Declaration

[C#]
    event TSBPGPArmoredEvent OnArmored;
    delegate void TSBPGPArmoredEvent(Object Sender, string Boundary, TElStringList Headers);

[VB.NET]
    Event OnArmored As TSBPGPArmoredEvent
    Delegate Sub TSBPGPArmoredEvent(ByVal Sender As Object, ByVal Boundary As String, ByVal Headers As TElStringList)

[Pascal]
    property OnArmored : TSBPGPArmoredEvent;
    TSBPGPArmoredEvent = procedure(Sender: TObject; const Boundary : string; Headers: TStringList) of object;

[C++]
    void get_OnArmored(TSBPGPArmoredEvent &pMethodOutResult, void * &pDataOutResult);
    void set_OnArmored(TSBPGPArmoredEvent pMethodValue, void * pDataValue);
    typedef void (SB_CALLBACK *TSBPGPArmoredEvent)(void * _ObjectData, TObjectHandle Sender, const char * pcBoundary, int32_t szBoundary, TStringListHandle Headers);

[PHP]
    TSBPGPArmoredEvent|callable|NULL get_OnArmored()
    void set_OnArmored(TSBPGPArmoredEvent|callable|NULL $Value)
    callable TSBPGPArmoredEvent(TObject $Sender, string $Boundary, TStringList $Headers)

[Java]
    TSBPGPArmoredEvent getOnArmored();
    void setOnArmored(TSBPGPArmoredEvent Value);
    TSBPGPArmoredEvent.Callback OnArmored = new TSBPGPArmoredEvent.Callback() {
        public void TSBPGPArmoredEventCallback(TObject Sender, String Boundary, TElStringList Headers) {
            //...
        }
    }

Parameters

  • Boundary - boundary that is put in the beginning and in the end of message
  • Headers - additional headers that were placed before the base64-armored message.
  • pcBoundary - boundary that is put in the beginning and in the end of message
  • szBoundary - the length of pcBoundary.

Description

    This event is fired by TElPGPReader when it has processed armored data. You can read the parameters of armoring (boundary and extra headers) using this event.

See also:     OnCompressed     OnCreateOutputStream     OnEncrypted     OnKeyPassphrase     OnPassphrase     OnProgress     OnSigned    

Discuss this help topic in SecureBlackbox Forum