Function anjay_oscore_object_restore
Defined in File oscore.h
Function Documentation
-
avs_error_t anjay_oscore_object_restore(anjay_t *anjay, avs_stream_t *in_stream)
Attempts to restore OSCORE Object Instances from specified
in_stream.Note: if restore fails, then OSCORE Object will be left untouched, on success though all Instances stored within the Object will be purged.
- Parameters:
anjay – Anjay instance with OSCORE Object installed.
in_stream – Stream to read from.
- Returns:
AVS_OK in case of success, or an error code.