otCoapSecureGetPeerCertificateBase64() is only used within ESP-IDF.
 
Symbols
loading...
Files
loading...
SummarySyntaxArgumentsRelatedReferences

Return value

OT_ERROR_INVALID_STATE Not connected yet. OT_ERROR_NONE Successfully get the peer certificate. OT_ERROR_NO_BUFS Can't allocate memory for certificate.

Notes

This function requires the build-time features `MBEDTLS_BASE64_C` and `MBEDTLS_SSL_KEEP_PEER_CERTIFICATE` to be enabled.

References

from examples