Function anjay_security_object_restore

Function Documentation

avs_error_t anjay_security_object_restore(anjay_t *anjay, avs_stream_t *in_stream)

Attempts to restore Security Object Instances from specified in_stream.

Note: if restore fails, then Security Object will be left untouched, on success though all Instances stored within the Object will be purged.

Parameters:
  • anjay – Anjay instance with Security Object installed.

  • in_stream – Stream to read from.

Returns:

AVS_OK in case of success, or an error code.