mbedtls_pem_get_buffer() function
Get the pointer to the decoded binary data in a PEM context.
Arguments
ctx
PEM context to access.
buflen
On success, this will contain the length of the binary data. This must be a valid (non-null) pointer.
Return value
A pointer to the decoded binary data.
Notes
The returned pointer remains valid only until \p ctx is modified or freed.
mbedtls_pem_get_buffer() reads 2 variables:
![]()
mbedtls_pem_get_buffer()