Enum tpm2_policy::TPMPolicyStep[][src]

pub enum TPMPolicyStep {
    NoStep,
    PCRs(HashingAlgorithmVec<u64>, Box<TPMPolicyStep>),
    Authorized {
        signkey: PublicKey,
        policy_ref: Vec<u8>,
        policies: Option<SignedPolicyList>,
        next: Box<TPMPolicyStep>,
    },
    Or([Box<TPMPolicyStep>; 8]),
}

Variants

NoStep

Tuple Fields of PCRs

0: HashingAlgorithm1: Vec<u64>2: Box<TPMPolicyStep>
Authorized

Fields of Authorized

signkey: PublicKeypolicy_ref: Vec<u8>policies: Option<SignedPolicyList>next: Box<TPMPolicyStep>

Tuple Fields of Or

0: [Box<TPMPolicyStep>; 8]

Implementations

Sends the policy to the TPM2 Returns the session, and policy_digest for authInfo

Trait Implementations

Formats the value using the given formatter. Read more

The type returned in the event of a conversion error.

Performs the conversion.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

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

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.