Discuss this help topic in SecureBlackbox Forum

TElSimpleSSLClient.InternalValidate

TElSimpleSSLClient     See also     


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


Returns the server certificate validity information.

Declaration

[C#/Java]
    void InternalValidate(ref TSBCertificateValidity Validity, ref int Reason);

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

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

[C++]
    not available

[PHP]
    not available

Parameters

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

Values



Description

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

See also:     OnCertificateValidate     CertStorage    

Discuss this help topic in SecureBlackbox Forum