Enum tss_esapi::abstraction::transient::KeyParams
source · pub enum KeyParams {
Rsa {
size: RsaKeyBits,
scheme: RsaScheme,
pub_exponent: RsaExponent,
},
Ecc {
curve: EccCurve,
scheme: EccScheme,
},
}Expand description
Parameters for the kinds of keys supported by the context
Variants§
Rsa
Fields
§
size: RsaKeyBitsSize of key in bits
Can only be one of: 1024, 2048, 3072 or 4096
§
pub_exponent: RsaExponentPublic exponent of the key
If set to 0, it will default to 2^16 - 1.
(Note that the default value for RsaExponent is 0)