session_key_refresh

0th

Percentile

Refresh the session key

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.

Aliases
  • session_key_refresh
Examples
# NOT RUN {
# Be careful - if you run this then all keys loaded from file will
# no longer work until reloaded
if (FALSE) {
  cyphr::session_key_refresh()
}
# }
Documentation reproduced from package cyphr, version 1.0.2, License: MIT + file LICENSE

Community examples

Looks like there are no examples yet.