tss_esapi::abstraction::ak

Function create_ak

Source
pub fn create_ak<IKC: IntoKeyCustomization>(
    context: &mut Context,
    parent: KeyHandle,
    hash_alg: HashingAlgorithm,
    sign_alg: SignatureSchemeAlgorithm,
    ak_auth_value: Option<Auth>,
    key_customization: IKC,
) -> Result<CreateKeyResult>
Expand description

This creates an Attestation Key in the Endorsement hierarchy.

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