Discuss this help topic in SecureBlackbox Forum

TSBCMSRemoteSignCallback

Declared in     See also     


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


A callback function that delegates the signature computation.

Declaration

[C#/Java]
    not available

[VB.NET]
    not available

[Pascal]
    TSBCMSRemoteSignCallback = function(Sender : TObject; Param : TObject; const Hash : ByteArray; var SignedHash : ByteArray) : boolean of object;

[C++]
    not available

[PHP]
    not available

Parameters

  • Param - a reference to the object which contains additional information about the file being signed.
  • 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.

Return value

    Returns True if signing is successful, and False otherwise.

Description

    When the CMS signature computation is delegated to the third-party application, this function has to receive the hash value, pass it to the signer, obtain the signature value and send it back to the component. The function should return True on success, and False if an error was encountered. If the function returns False, EElCMSError exception is risen by the signer component.

Declared in

.NET:
  • Namespace: SBCMS
  • Assembly: SecureBlackbox.PKI
VCL:
  • Unit: SBCMS
Java:
  • Package: SecureBlackbox.PKI.jar
C++:
  • sbcms.h

See also:     SignRemote     RemoteSignCallback    

Discuss this help topic in SecureBlackbox Forum