mbedtls_x509_crt_parse_der() is only used within mbed TLS Library.
 
Symbols
loading...
Files
loading...
SummarySyntaxArgumentsRelatedReferences

Return value

\c 0 if successful. A negative error code on failure.

Notes

If #MBEDTLS_USE_PSA_CRYPTO is enabled, the PSA crypto subsystem must have been initialized by calling psa_crypto_init() before calling this function. This function makes an internal copy of the CRT buffer \p buf. In particular, \p buf may be destroyed or reused after this call returns. To avoid duplicating the CRT buffer (at the cost of stricter lifetime constraints), use mbedtls_x509_crt_parse_der_nocopy() instead.

References

from examples