pub unsafe extern "C" fn otCoapSecureSetSslAuthMode(
    aInstance: *mut otInstance,
    aVerifyPeerCertificate: bool
)
Expand description

Sets the authentication mode for the coap secure connection.

Disable or enable the verification of peer certificate. Must be called before start.

@param[in] aInstance A pointer to an OpenThread instance. @param[in] aVerifyPeerCertificate true, to verify the peer certificate.