[−][src]Function tss_esapi::utils::create_restricted_decryption_rsa_public
pub fn create_restricted_decryption_rsa_public(
symmetric: Cipher,
key_bits: u16,
pub_exponent: u32
) -> Result<TPM2B_PUBLIC>
Create the TPM2B_PUBLIC structure for a restricted decryption key.
symmetric
- Cipher to be used for decrypting children of the keykey_bits
- Size in bits of the decryption keypub_exponent
- Public exponent of the RSA key. A value of 0 defaults to 2^16 + 1