SSLAuthFail¶
The session required a certificate from its peer and did not get an acceptable one. The chain did not verify, the certificate was not valid for the hostname the session was created with, the peer could not prove it holds the key matching the certificate it presented, or the peer presented no certificate at all.
A peer whose certificate will not parse reports SSLError instead: the
failure happens before chain verification, so it is not distinguishable from
a failure that had nothing to do with a certificate. A session created with
verification off does not reach this state at all, and neither does a
session whose only failure was its peer rejecting the certificate the
session presented.
Constructors¶
create¶
Returns¶
- SSLAuthFail val^
Public Functions¶
eq¶
Parameters¶
- that: SSLAuthFail val
Returns¶
- Bool val
ne¶
Parameters¶
- that: SSLAuthFail val
Returns¶
- Bool val