Returns the server certificate validity information.
This method is used to validate SSL 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.