TLSConfiguration_setAllowOnlyKnownCertificates

Function TLSConfiguration_setAllowOnlyKnownCertificates 

Source
pub unsafe extern "C" fn TLSConfiguration_setAllowOnlyKnownCertificates(
    self_: TLSConfiguration,
    value: bool,
)
Expand description

Set if only known certificates are accepted.

If set to true only known certificates are accepted. Connections with unknown certificates are rejected even if they are signed by a trusted authority.

ยงArguments

  • value - true to enable setting, false otherwise