Discuss this help topic in SecureBlackbox Forum

TElMessagePartHandlerPGPMime.OnSignatures

TElMessagePartHandlerPGPMime     See also     


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


Returns signatures with verification results.

Declaration

[C#]
    event TSBPGPSignaturesEvent OnSignatures;
    delegate void TSBPGPSignaturesEvent(Object Sender, TElPGPSignature[] Signatures, TSBPGPSignatureValidity[] Validities);

[VB.NET]
    Event OnSignatures As TSBPGPSignaturesEvent
    Delegate Sub TSBPGPSignaturesEvent(ByVal Sender As Object, ByVal Signatures As TElPGPSignature[], ByVal Validities As TSBPGPSignatureValidity[])

[Pascal]
    property OnSignatures : TSBPGPSignaturesEvent;
    TSBPGPSignaturesEvent = procedure(Sender: TObject; Signatures: array of TElPGPSignature; Validities : array of TSBPGPSignatureValidity) of object;

[C++]
    void get_OnSignatures(TSBPGPSignaturesEvent &pMethodOutResult, void * &pDataOutResult);
    void set_OnSignatures(TSBPGPSignaturesEvent pMethodValue, void * pDataValue);
    typedef void (SB_CALLBACK *TSBPGPSignaturesEvent)(void * _ObjectData, TObjectHandle Sender, const TElPGPSignatureHandle pSignatures[], int32_t szSignatures, const TSBPGPSignatureValidityRaw pValidities[], int32_t szValidities);

[PHP]
    TSBPGPSignaturesEvent|callable|NULL get_OnSignatures()
    void set_OnSignatures(TSBPGPSignaturesEvent|callable|NULL $Value)
    callable TSBPGPSignaturesEvent(TObject $Sender, array of TElPGPSignature $Signatures, array of integer $Validities)

[Java]
    TSBPGPSignaturesEvent getOnSignatures();
    void setOnSignatures(TSBPGPSignaturesEvent Value);
    TSBPGPSignaturesEvent.Callback OnSignatures = new TSBPGPSignaturesEvent.Callback() {
        public void TSBPGPSignaturesEventCallback(TObject Sender, TElPGPSignature[] Signatures, TSBPGPSignatureValidity[] Validities) {
            //...
        }
    }

Parameters

  • Signatures - array of verified signatures.
  • Validities - array of verification results which conforms to array of signatures by index.
  • pSignatures -
  • szSignatures - the length of pcSignatures.
  • pValidities -
  • szValidities - the length of pcValidities.

Values

Description

    This event is fired by TElMessagePartHandlerPGPMime when it is processing signed data.
    Use Validity parameter to get verification result.

See also:     OnEncrypted     OnKeyPassphrase     OnPassphrase     OnSigned    

Discuss this help topic in SecureBlackbox Forum