Discuss this help topic in SecureBlackbox Forum

TElCMSSignature.Sign

TElCMSSignature     See also     


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


This method signs the signature subject.

Declaration

[C#/Java]
    void Sign(TElX509Certificate Cert, TElCustomCertStorage Chain /* = null */ );

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

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

[PHP]
    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