[−][src]Function openthread_sys::otCoapSecureSetSslAuthMode
pub unsafe extern "C" fn otCoapSecureSetSslAuthMode(
aInstance: *mut otInstance,
aVerifyPeerCertificate: bool
)
This method 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.