Enum security_framework::key::Token
source · pub enum Token {
Software,
SecureEnclave,
}Expand description
Where to generate the key.
Variants§
Software
Generate the key in software, compatible with all KeyTypes.
SecureEnclave
Generate the key in the Secure Enclave such that the private key is not
extractable. Only compatible with KeyType::ec().