tss_esapi::abstraction::ak

Function create_ak_2

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

This creates an Attestation Key in the Endorsement hierarchy.

This function will be removed in the next major version.