nss::pk11::sym_key

Function get_or_create_aes256_key

Source
pub fn get_or_create_aes256_key(name: &str) -> Result<Vec<u8>>
Expand description

Retrieve a key, identified by name, from the internal NSS key store. If none exists, create one, persist, and return. Only available with the keydb feature.