session_key_refresh {cyphr} | R Documentation |
Refresh the session key
Description
Refresh the session key, invalidating all keys created by
key_openssl()
, keypair_openssl()
,
key_sodium()
and keypair_sodium()
.
Usage
session_key_refresh()
Details
Running this function will invalidate all keys loaded with the above functions. It should not be needed very often.
Examples
# Be careful - if you run this then all keys loaded from file will
# no longer work until reloaded
if (FALSE) {
cyphr::session_key_refresh()
}
[Package cyphr version 1.1.4 Index]