Discuss this help topic in SecureBlackbox Forum


TElPDFAdvancedPublicKeySecurityHandler     See also     

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

This event is fired when remote signing is used.


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

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

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

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

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


  • Hash - contains the computed hash value.
  • SignedHash - the signed hash value should be passed ia this parameter.
  • pHash -
  • szHash - the length of pcHash.
  • pSignedHash -
  • szSignedHash - the length of pcSignedHash.


     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:     RemoteSigningMode     TSBCMSRemoteSignCallback    

Discuss this help topic in SecureBlackbox Forum