Discuss this help topic in SecureBlackbox Forum

TElX509Certificate.ValidateWithCA

TElX509Certificate     See also     


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


Validates the certificate signed by certificate authority (CA)

Declaration

[C#/Java]
    bool ValidateWithCA(TElX509Certificate CACertificate);

[VB.NET]
    Function ValidateWithCA(ByVal CACertificate As TElX509Certificate) As Boolean

[Pascal]
    function ValidateWithCA(CACertificate : TElX509Certificate) : boolean;

[C++]
    bool ValidateWithCA(TElX509Certificate &CACertificate);
    bool ValidateWithCA(TElX509Certificate *CACertificate);

[PHP]
    bool ValidateWithCA(TElX509Certificate $CACertificate)

Parameters

  • CACertificate - the certificate of the authority that issued the certificate being validated.

Return value

    Returns True if certificate is valid, and False otherwise.

Description

    Use this function to validate a certificate signed by certificate authority (CA). First you need to either set all certificate properties or load the certificate from the stream or from the buffer. Then call this function to do validation. Pass the certificate of the CA to this function as a parameter. To validate a self-signed certificate use Validate function.

See also:     Validate     LoadFromBuffer     LoadFromStream    

Discuss this help topic in SecureBlackbox Forum