Discuss this help topic in SecureBlackbox Forum

TElXMLCertIDList.AddCertificate

TElXMLCertIDList     See also     


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


Adds an X.509 certificate identifier to the list.

Declaration

[VB.NET]
    Function AddCertificate(ByVal ACertificate As TElX509Certificate, ByVal AXAdESVersion As TSBXAdESVersion) As Integer
    Function AddCertificate(ByVal ACertificate As TElX509Certificate, ByVal DigestMethod As Short, ByVal AXAdESVersion As TSBXAdESVersion) As Integer
    Function AddCertificate(ByVal ACertificate As TElX509Certificate, ByVal DigestMethod As Short, ByVal HexSerialNumber As Boolean, ByVal AXAdESVersion As TSBXAdESVersion) As Integer

[Pascal]
    function AddCertificate(ACertificate : TElX509Certificate; AXAdESVersion As TSBXAdESVersion) : integer;

[PHP]
    integer AddCertificate(TElX509Certificate $ACertificate, integer $AXAdESVersion)
    integer AddCertificate(TElX509Certificate $ACertificate, integer $DigestMethod, integer $AXAdESVersion)
    integer AddCertificate(TElX509Certificate $ACertificate, integer $DigestMethod, bool $HexSerialNumber, integer $AXAdESVersion)

Parameters

  • ACertificate - the certificate, which identifier should be added to the list
  • AXAdESVersion - XAdES version
  • DigestMethod - ...
  • HexSerialNumber - ...

TSBXAdESVersion values


TElXMLDigestMethod values


Return value

    Number of the added item in the list.

Description

    Call this method to add an X.509 certificate identifier to the list.

See also:     Add     HasCertificate    

Discuss this help topic in SecureBlackbox Forum