pub enum TPMPolicyStep {
NoStep,
PCRs(HashingAlgorithm, Vec<u64>, Box<TPMPolicyStep>),
Authorized {
signkey: PublicKey,
policy_ref: Vec<u8>,
policies: Option<SignedPolicyList>,
next: Box<TPMPolicyStep>,
},
Or([Box<TPMPolicyStep>; 8]),
}
Sends the policy to the TPM2
Returns the session, and policy_digest for authInfo
Formats the value using the given formatter. Read more
The type returned in the event of a conversion error.
impl<T> Any for T where
T: 'static + ?Sized,
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
Drops the content pointed by this pointer and frees it. Read more
impl<T, U> Into<U> for T where
U: From<T>,
The type returned in the event of a conversion error.
The type returned in the event of a conversion error.