tss_esapi::abstraction::ek

Function create_ek_object

Source
pub fn create_ek_object<IKC: IntoKeyCustomization>(
    context: &mut Context,
    alg: AsymmetricAlgorithm,
    key_customization: IKC,
) -> Result<KeyHandle>
Expand description

Create the Endorsement Key object from the specification templates

The API of this function will be changed to that of create_ek_object_2 in the next major version.