C# Class Tpm2Lib.Tpm2PolicySignedRequest

Inheritance: TpmStructureBase
Show file Open project: Microsoft/TSS.MSR Class Usage Examples

Private Properties

Property Type Description

Public Methods

Method Description
Copy ( ) : Tpm2PolicySignedRequest
Tpm2PolicySignedRequest ( ) : System
Tpm2PolicySignedRequest ( Tpm2PolicySignedRequest the_Tpm2PolicySignedRequest ) : System
Tpm2PolicySignedRequest ( TpmHandle the_authObject, TpmHandle the_policySession, byte the_nonceTPM, byte the_cpHashA, byte the_policyRef, int the_expiration, ISignatureUnion the_auth ) : System

Method Details

Copy() public method

public Copy ( ) : Tpm2PolicySignedRequest
return Tpm2PolicySignedRequest

Tpm2PolicySignedRequest() public method

public Tpm2PolicySignedRequest ( ) : System
return System

Tpm2PolicySignedRequest() public method

public Tpm2PolicySignedRequest ( Tpm2PolicySignedRequest the_Tpm2PolicySignedRequest ) : System
the_Tpm2PolicySignedRequest Tpm2PolicySignedRequest
return System

Tpm2PolicySignedRequest() public method

public Tpm2PolicySignedRequest ( TpmHandle the_authObject, TpmHandle the_policySession, byte the_nonceTPM, byte the_cpHashA, byte the_policyRef, int the_expiration, ISignatureUnion the_auth ) : System
the_authObject TpmHandle handle for a key that will validate the signature Auth Index: None
the_policySession TpmHandle handle for the policy session being extended Auth Index: None
the_nonceTPM byte the policy nonce for the session This can be the Empty Buffer.
the_cpHashA byte digest of the command parameters to which this authorization is limited This is not the cpHash for this command but the cpHash for the command to which this policy session will be applied. If it is not limited, the parameter will be the Empty Buffer.
the_policyRef byte a reference to a policy relating to the authorization may be the Empty Buffer Size is limited to be no larger than the nonce size supported on the TPM.
the_expiration int time when authorization will expire, measured in seconds from the time that nonceTPM was generated If expiration is non-negative, a NULL Ticket is returned. See 23.2.5.
the_auth ISignatureUnion signed authorization (not optional)(One of SignatureRsassa, SignatureRsapss, SignatureEcdsa, SignatureEcdaa, SignatureSm2, SignatureEcschnorr, TpmHash, SchemeHash, NullSignature)
return System