create

Function create 

Source
pub fn create(
    spec: &Specification,
) -> Result<(PublicBuilder, Option<TPM2B_SENSITIVE>)>
Expand description

Create key given by the spec.

Creates given key and returns the PublicBuilder for that key. If the key was a private key import this function additionally returns a Sensitive value.