Skip to main content

mbedtls_x509write_csr_set_subject_alternative_name

Function mbedtls_x509write_csr_set_subject_alternative_name 

Source
pub unsafe extern "C" fn mbedtls_x509write_csr_set_subject_alternative_name(
    ctx: *mut mbedtls_x509write_csr,
    san_list: *const mbedtls_x509_san_list,
) -> c_int
Expand description

\brief Set Subject Alternative Name

\param ctx CSR context to use \param san_list List of SAN values

\return 0 if successful, or MBEDTLS_ERR_X509_ALLOC_FAILED

\note Only “dnsName”, “uniformResourceIdentifier” and “otherName”, as defined in RFC 5280, are supported.