Function esp_idf_svc::hal::sys::mbedtls_pk_write_pubkey_pem
source ยท pub unsafe extern "C" fn mbedtls_pk_write_pubkey_pem(
ctx: *const mbedtls_pk_context,
buf: *mut u8,
size: usize,
) -> i32
Expand description
\brief Write a public key to a PEM string
\param ctx PK context which must contain a valid public or private key. \param buf Buffer to write to. The output includes a terminating null byte. \param size Size of the buffer in bytes.
\return 0 if successful, or a specific error code