Commit 85da18b3 authored by npzacs's avatar npzacs

Add aacs_set_key_caching()

parent f5425bbb
- Add aacs_set_key_caching()
2017-05-04: Version 0.9.0
- Add aacs_decrypt_bus().
- Add aacs_get_bdj_root_cert_hash().
......
......@@ -1164,6 +1164,12 @@ AACS *aacs_init()
}
return aacs;
}
void aacs_set_key_caching(AACS *aacs, int enable)
{
if (aacs) {
aacs->no_cache = !enable;
}
}
void aacs_set_fopen(AACS *aacs, void *handle, AACS_FILE_OPEN2 p)
{
......
......@@ -67,6 +67,15 @@ AACS_PUBLIC void aacs_get_version(int *major, int *minor, int *micro);
*/
AACS_PUBLIC AACS *aacs_init(void);
/**
* Disable / enable key caching.
*
* Controls if keys and revocation lists are cached locally.
* Disabling caching disables updating the cache and using data from cache.
* Enabled by default.
*/
AACS_PUBLIC void aacs_set_key_caching(AACS *, int enable);
/**
* Open AACS disc / device.
*
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment