tss_esapi::abstraction::ek

Function create_ek_public_from_default_template_2

Source
pub fn create_ek_public_from_default_template_2<IKC: IntoKeyCustomization>(
    alg: AsymmetricAlgorithmSelection,
    key_customization: IKC,
) -> Result<Public>
Expand description

Get the Public representing a default Endorsement Key

Note: This only works for key algorithms specified in TCG EK Credential Profile for TPM Family 2.0.

Source: TCG EK Credential Profile for TPM Family 2.0; Level 0 Version 2.3 Revision 2 Appendix B.3.3 and B.3.4

This function will be removed in the next major version.