pub unsafe extern "C" fn mbedtls_x509write_crt_set_ns_cert_type(
    ctx: *mut mbedtls_x509write_cert,
    ns_cert_type: c_uchar
) -> c_int
Expand description

\brief Set the Netscape Cert Type flags (e.g. MBEDTLS_X509_NS_CERT_TYPE_SSL_CLIENT | MBEDTLS_X509_NS_CERT_TYPE_EMAIL)

\param ctx CRT context to use \param ns_cert_type Netscape Cert Type flags to set

\return 0 if successful, or MBEDTLS_ERR_X509_ALLOC_FAILED