Discuss this help topic in SecureBlackbox Forum

TElXAdESProcessor.AddValidationDataRefs

TElXAdESProcessor     See also     


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


Adds validation data refs to the document.

Declaration

[VB.NET]
    Function AddValidationDataRefs() As TSBXAdESValidity
    Function AddValidationDataRefs(ByVal SigningCertificate As TElX509Certificate, ByVal DigestMethod As Short, ByVal ResponderIdByKey As Boolean, ByVal Formatter As TElXMLCustomFormatter) As TSBXAdESValidity
    Function AddValidationDataRefs(ByVal SigningCertificate As TElX509Certificate, ByVal IncludeCRL As Boolean, ByVal IncludeOCSP As Boolean, ByVal DigestMethod As Short, ByVal ResponderIdByKey As Boolean, ByVal Formatter As TElXMLCustomFormatter) As TSBXAdESValidity

[Pascal]
    function AddValidationDataRefs() : TSBXAdESValidity;
    function AddValidationDataRefs(SigningCertificate : TElX509Certificate; DigestMethod : TElXMLDigestMethod; ResponderIdByKey : boolean; Formatter : TElXMLCustomFormatter) : TSBXAdESValidity; virtual;
    function AddValidationDataRefs(SigningCertificate : TElX509Certificate; IcludeCRL, IcludeOCSP : boolean; DigestMethod : TElXMLDigestMethod; ResponderIdByKey : boolean; Formatter : TElXMLCustomFormatter) : TSBXAdESValidity; virtual;

[PHP]
    integer AddValidationDataRefs()
    integer AddValidationDataRefs(TElX509Certificate $SigningCertificate, integer $DigestMethod, bool $ResponderIdByKey, TElXMLCustomFormatter $Formatter)
    integer AddValidationDataRefs(TElX509Certificate $SigningCertificate, bool $IncludeCRL, bool $IncludeOCSP, integer $DigestMethod, bool $ResponderIdByKey, TElXMLCustomFormatter $Formatter)

Parameters

  • DigestMethod - specifies the digest method used to compute digest values for the refs.
  • Formatter - XML formatter. This parameter is for internal use only. Set this parameter to nil/null/Nothing.
  • IncludeCRL - specifies whether to include CRLs to the validation data.
  • IncludeOCSP - specifies whether to include OCSP responses to the validation data.
  • ResponderIdByKey - specifies whether responder is identified by key (True, or by name (False).
  • SigningCertificate - contains signing certificate.

Digest methods:

Return value

    Returns signature validity state.

Possible values:

Description

    Use this method to add a set of signature validation data references to the document.

See also:     AddValidationDataValues    

Discuss this help topic in SecureBlackbox Forum