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

PCRs(HashingAlgorithmVec<u64>, Box<TPMPolicyStep>)

Tuple Fields

1: Vec<u64>

Authorized

Fields

signkey: PublicKey
policy_ref: Vec<u8>

Or([Box<TPMPolicyStep>; 8])

Tuple Fields

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.