Function anjay_est_state_persist
Defined in File core.h
Function Documentation
-
avs_error_t anjay_est_state_persist(anjay_t *anjay, avs_stream_t *out_stream)
Dumps EST state (updated trust store, generated secret key and provisioned client certificate) to the
out_stream.- Parameters:
anjay – Anjay instance.
out_stream – Stream to write to.
- Returns:
AVS_OK in case of success, or an error code. NOTE: State cannot be persisted if EST operation is in progress.
avs_errno(AVS_EAGAIN)will be returned in such case.