Discuss this help topic in SecureBlackbox Forum


TElSSLClient     See also     

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

Returns the server certificate validity information.


    void InternalValidate(ref TSBCertificateValidity Validity, ref TSBCertificateValidityReason Reason);

    Sub InternalValidate(ByRef Validity As TSBCertificateValidity, ByRef Reason As TSBCertificateValidityReason)

    procedure InternalValidate(var Validity : TSBCertificateValidity; var Reason : TSBCertificateValidityReason);

    void InternalValidate(TSBCertificateValidity &Validity, TSBCertificateValidityReason &Reason);

    void InternalValidate(integer &$Validity, integer &$Reason)


  • Validity - The common validity state of certificate
  • Reason - Details of certificate's validity state

TSBCertificateValidity values:

TSBCertificateValidityReason values:


    This method causes TElSSLClient to validate server's certificate using certificate storage specified by parameter CertStorage. Use this method after the OnCertificateValidate event was fired (it's a good idea is to call this method in this event handler).
    If ClientCertStorage property is not set, the Validity parameter returns SB_CERTIFICATE_VALIDITY_STORAGE_ERROR.

See also:     TElSSLClass.OnCertificateValidate     CertStorage    

Discuss this help topic in SecureBlackbox Forum