Discuss this help topic in SecureBlackbox Forum

TElCMSSignature.Sign

TElCMSSignature     See also     


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


This method signs the signature subject.

Declaration

[VB.NET]
    Sub Sign(ByVal Cert As TElX509Certificate, ByVal Chain As TElCustomCertStorage)

[Pascal]
    procedure Sign(Cert : TElX509Certificate; Chain : TElCustomCertStorage = nil);

[PHP]
    void Sign(TElX509Certificate $Cert, TElCustomCertStorage $Chain)

[Java]
    void sign(TElX509Certificate Cert, TElCustomCertStorage Chain);

Parameters

  • Cert - signing certificate
  • Chain - certificates to be added to the signature

Description

    Use this method to calculate the signature value and sign the signature subject.
    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:     SignRemote     Validate     SigningCertificate     SigningOptions     State    

Discuss this help topic in SecureBlackbox Forum