mbedtls_x509write_csr_set_extension() function
Generic function to add to or replace an extension in the CSR
Arguments
critical
Set to 1 to mark the extension as critical, 0 otherwise.
val
value of the extension OCTET STRING
val_len
length of the value data
Return value
0 if successful, or a MBEDTLS_ERR_X509_ALLOC_FAILED
mbedtls_x509write_csr_set_extension() is called by 2 functions and calls 1 function:
![]()
mbedtls_x509write_csr_set_extension()
mbedtls_x509write_csr_set_extension():
![]()
mbedtls_x509write_csr_set_extension()