pub fn create_unrestricted_signing_rsa_public(
    scheme: AsymSchemeUnion,
    key_bits: u16,
    pub_exponent: u32
) -> Result<TPM2B_PUBLIC>
Expand description

Create the TPM2B_PUBLIC structure for an RSA unrestricted signing key.

  • scheme - Asymmetric scheme to be used for signing
  • key_bits - Size in bits of the decryption key
  • pub_exponent - Public exponent of the RSA key. A value of 0 defaults to 2^16 + 1