Discuss this help topic in SecureBlackbox Forum

TElSSLClient.InternalValidate

TElSSLClient     See also     


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


Returns the server certificate validity information.

Declaration

[C#]
    void InternalValidate(ref TSBCertificateValidity Validity, ref TSBCertificateValidityReason Reason);

[VB.NET]
    Sub InternalValidate(ByRef Validity As TSBCertificateValidity, ByRef Reason As TSBCertificateValidityReason)

[Pascal]
    procedure InternalValidate(var Validity : TSBCertificateValidity; var Reason : TSBCertificateValidityReason);

[C++]
    void InternalValidate(TSBCertificateValidity &Validity, TSBCertificateValidityReason &Reason);

[PHP]
    void InternalValidate(integer &$Validity, integer &$Reason)

[Java]
    void internalValidate(TSBCertificateValidity[] Validity, int[] Reason);

Parameters

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

TSBCertificateValidity values:

TSBCertificateValidityReason values:

Description

    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 is 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