mbedtls_x509_csr_parse() function
Load a Certificate Signing Request (CSR), DER or PEM format
Arguments
buf
buffer holding the CRL data
buflen
size of the buffer (including the terminating null byte for PEM data)
Return value
0 if successful, or a specific X509 or PEM error code
Notes
See notes for \c mbedtls_x509_csr_parse_der() If #MBEDTLS_USE_PSA_CRYPTO is enabled, the PSA crypto subsystem must have been initialized by calling psa_crypto_init() before calling this function.
![]()
ret = mbedtls_x509_csr_parse(csr, buf, n);
mbedtls_x509_csr_parse() is called by 1 function and calls 4 functions:
![]()
mbedtls_x509_csr_parse()
mbedtls_x509_csr_parse() reads 2 variables:
![]()
mbedtls_x509_csr_parse()