mbedtls_pem_write_buffer() is only used within mbedTLS.
 
Symbols
loading...
Files
loading...
SummarySyntaxArgumentsReferencesCall TreeData Use

Return value

\c 0 on success. #MBEDTLS_ERR_BASE64_BUFFER_TOO_SMALL if \p buf isn't large enough to hold the PEM buffer. In this case, `*olen` holds the required minimum size of \p buf. Another PEM or BASE64 error code on other kinds of failure.

Notes

You may pass \c NULL for \p buf and \c 0 for \p buf_len to request the length of the resulting PEM buffer in `*olen`. This function may be called with overlapping \p der_data and \p buf buffers.

References