Discuss this help topic in SecureBlackbox Forum


TElXMLSigner     See also     

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

This event is fired when remote signing is used.


    event TSBXMLRemoteSignEvent OnRemoteSign;
    delegate void TSBXMLRemoteSignEvent(Object Sender, byte[] Hash, ref byte[] SignedHash);

    Event OnRemoteSign As TSBXMLRemoteSignEvent
    Delegate Sub TSBXMLRemoteSignEvent(ByVal Sender As Object, ByVal Hash As Byte(), ByRef SignedHash As Byte())

    property OnRemoteSign : TSBXMLRemoteSignEvent;
    TSBXMLRemoteSignEvent = procedure(Sender : TObject; const Hash : ByteArray; var SignedHash : ByteArray) of object;

    void get_OnRemoteSign(TSBXMLRemoteSignEvent &pMethodOutResult, void * &pDataOutResult);
    void set_OnRemoteSign(TSBXMLRemoteSignEvent pMethodValue, void * pDataValue);
    typedef void (SB_CALLBACK *TSBXMLRemoteSignEvent)(void * _ObjectData, TObjectHandle Sender, const uint8_t pHash[], int32_t szHash, uint8_t pSignedHash[], int32_t &szSignedHash);

    TSBXMLRemoteSignEvent|callable|NULL get_OnRemoteSign()
    void set_OnRemoteSign(TSBXMLRemoteSignEvent|callable|NULL $Value)
    callable TSBXMLRemoteSignEvent(TObject $Sender, string $Hash, string &$SignedHash)

    TSBXMLRemoteSignEvent getOnRemoteSign();
    void setOnRemoteSign(TSBXMLRemoteSignEvent Value);
    TSBXMLRemoteSignEvent.Callback OnRemoteSign = new TSBXMLRemoteSignEvent.Callback() {
        public byte[] TSBXMLRemoteSignEventCallback(TObject Sender, byte[] Hash) {


  • Hash - contains the computed hash value.
  • pHash - (C++ only) a pointer to the hash value.
  • szHash - (C++ only) specifies the size of the hash in bytes.
  • SignedHash - the signed hash value should be passed ia this parameter.
  • pSignedHash - (C++ only) a pointer to the signed hash value.
  • szSignedHash - (C++ only) specifies the size of the signed hash in bytes.


    Assign a handler of this event if you need to delegate the low-level signing operation to an external, remote or custom signing engine. The handler should receive the hash value, pass it to the signer, obtain the signature value and send it back to the component.

See also:     TSBCMSRemoteSignCallback    

Discuss this help topic in SecureBlackbox Forum