Discuss this help topic in SecureBlackbox Forum

TElCMSSignature.Validate

TElCMSSignature     See also     


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


This method validates the signature.

Declaration

[VB.NET]
    Function Validate() As TSBCMSSignatureValidity
    Function Validate(ByVal Options As Short) As TSBCMSAdvancedSignatureValidity
    Function Validate(ByVal Validator As TElX509CertificateValidator, ByVal Options As Short) As TSBCMSAdvancedSignatureValidity

[Pascal]
    function Validate : TSBCMSSignatureValidity;
    function Validate(Options : TSBCMSValidationOptions) : TSBCMSAdvancedSignatureValidity;
    function Validate(Validator : TElX509CertificateValidator; Options : TSBCMSValidationOptions) : TSBCMSAdvancedSignatureValidity;
    
    TSBCMSValidationOptions = set of TSBCMSValidationOption;

[PHP]
    integer Validate()
    integer Validate(integer $Options)
    integer Validate(TElX509CertificateValidator $Validator, integer $Options)

Parameters

  • Validator - reference to the TElX509CertificateValidator object which will be used for validation
  • Options - signature validation options

Possible TSBCMSValidationOption values:


Return value

    Returns signature validity status.

Possible TSBCMSSignatureValidity values:


Possible TSBCMSAdvancedSignatureValidity values:


TSBCMSValidationOptions values

Description

    Use this method to validate the signature.

    Note, if the third overload of this method is used, cvoValidateTrusts and cvoCheckRevocationStatus validation options are ignored. The corresponding trust and revocation validation settings should be adjusted via the properties of TElX509CertificateValidator class.

See also:     LastValidationResult     Sign    

Discuss this help topic in SecureBlackbox Forum