Discuss this help topic in SecureBlackbox Forum

TElCMSSignature.SignRemote

TElCMSSignature     See also     


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


This method signs the signature subject using a remote signer.

Declaration

[C#]
    void SignRemote(TElX509Certificate Cert, TSBCMSRemoteSignCallback SignCallback, Object Param, TElCustomCertStorage Chain);
    void SignRemote(TElX509Certificate Cert, TSBCMSRemoteSignCallback SignCallback, bool ExternalHashCalculation, Object Param, TElCustomCertStorage Chain);

[VB.NET]
    Sub SignRemote(ByVal Cert As TElX509Certificate, ByVal SignCallback As TSBCMSRemoteSignCallback, ByVal Param As Object, ByVal Chain As TElCustomCertStorage)
    Sub SignRemote(ByVal Cert As TElX509Certificate, ByVal SignCallback As TSBCMSRemoteSignCallback, ByVal ExternalHashCalculation As Boolean, ByVal Param As Object, ByVal Chain As TElCustomCertStorage)

[Pascal]
    procedure Sign(Cert : TElX509Certificate; SignCallback : TSBCMSRemoteSignCallback; Param : TObject; Chain : TElCustomCertStorage = nil);

[C++]
    void SignRemote(TElX509Certificate &Cert, TSBCMSRemoteSignCallback pMethodSignCallback, void * pDataSignCallback, void * Param, TElCustomCertStorage &Chain);
    void SignRemote(TElX509Certificate *Cert, TSBCMSRemoteSignCallback pMethodSignCallback, void * pDataSignCallback, void * Param, TElCustomCertStorage *Chain);
    void SignRemote(TElX509Certificate &Cert, TSBCMSRemoteSignCallback pMethodSignCallback, void * pDataSignCallback, bool ExternalHashCalculation, void * Param, TElCustomCertStorage &Chain);
    void SignRemote(TElX509Certificate *Cert, TSBCMSRemoteSignCallback pMethodSignCallback, void * pDataSignCallback, bool ExternalHashCalculation, void * Param, TElCustomCertStorage *Chain);

[PHP]
    void SignRemote(TElX509Certificate $Cert, TSBCMSRemoteSignCallback|callable|NULL $SignCallback, TSBPointer|array of byte|string|NULL $Param, TElCustomCertStorage $Chain)
    void SignRemote(TElX509Certificate $Cert, TSBCMSRemoteSignCallback|callable|NULL $SignCallback, bool $ExternalHashCalculation, TSBPointer|array of byte|string|NULL $Param, TElCustomCertStorage $Chain)

[Java]
    void signRemote(TElX509Certificate Cert, TSBCMSRemoteSignCallback ExternalHashCalculation, boolean Param, TObject Chain, TElCustomCertStorage arg4);
    void signRemote(TElX509Certificate Cert, TSBCMSRemoteSignCallback Param, TObject Chain, TElCustomCertStorage arg3);

Parameters

  • Cert - contains the signing certificate.
  • SignCallback - references a callback function that will be called to pass the hash to the external signer, and send the created signature back to the component.
  • Param - a reference to the object that contains additional information about the file being signed.
  • Chain - contains the certificate chain to be added to the signature.
  • pMethodSignCallback -
  • pDataSignCallback -
  • ExternalHashCalculation -

Description

Call this method to delegate the low-level signing operation to an external, remote or custom signing engine. This method is useful if the signature has to be made by a device accessible through a custom or non-standard signing interface.

Note, that recalculating the signature invalidates all countersignatures and timestamps. All these items should be removed, since they do not make any sense after signature recalculation.

See also:     Sign     Validate     SigningCertificate     SigningOptions    

Discuss this help topic in SecureBlackbox Forum