Skip to main content

mbedtls_x509write_csr_set_key

Function mbedtls_x509write_csr_set_key 

Source
pub unsafe extern "C" fn mbedtls_x509write_csr_set_key(
    ctx: *mut mbedtls_x509write_csr,
    key: *mut mbedtls_pk_context,
)
Expand description

\brief Set the key for a CSR (public key will be included, private key used to sign the CSR when writing it)

\param ctx CSR context to use \param key Asymmetric key to include