Discuss this help topic in SecureBlackbox Forum

TElSimpleFTPSClient.InternalValidate

TElSimpleFTPSClient     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

Values

Description

    This method causes TElSimpleFTPSClient to validate server's certificate using certificate storage specified by CertStorage property. Use this method after the OnCertificateValidate event was fired (it is 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:     CertStorage    

Discuss this help topic in SecureBlackbox Forum