Skip to content

SSLAuthFail

[Source]

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.

primitive val SSLAuthFail

Constructors

create

[Source]

new val create()
: SSLAuthFail val^

Returns


Public Functions

eq

[Source]

fun box eq(
  that: SSLAuthFail val)
: Bool val

Parameters

Returns


ne

[Source]

fun box ne(
  that: SSLAuthFail val)
: Bool val

Parameters

Returns