C# Class Tpm2Lib.Tpm2EncryptDecryptRequest

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

Private Properties

Property Type Description

Public Methods

Method Description
Copy ( ) : Tpm2EncryptDecryptRequest
Tpm2EncryptDecryptRequest ( ) : System
Tpm2EncryptDecryptRequest ( Tpm2EncryptDecryptRequest the_Tpm2EncryptDecryptRequest ) : System
Tpm2EncryptDecryptRequest ( TpmHandle the_keyHandle, byte the_decrypt, TpmAlgId the_mode, byte the_ivIn, byte the_inData ) : System

Method Details

Copy() public method

public Copy ( ) : Tpm2EncryptDecryptRequest
return Tpm2EncryptDecryptRequest

Tpm2EncryptDecryptRequest() public method

public Tpm2EncryptDecryptRequest ( ) : System
return System

Tpm2EncryptDecryptRequest() public method

public Tpm2EncryptDecryptRequest ( Tpm2EncryptDecryptRequest the_Tpm2EncryptDecryptRequest ) : System
the_Tpm2EncryptDecryptRequest Tpm2EncryptDecryptRequest
return System

Tpm2EncryptDecryptRequest() public method

public Tpm2EncryptDecryptRequest ( TpmHandle the_keyHandle, byte the_decrypt, TpmAlgId the_mode, byte the_ivIn, byte the_inData ) : System
the_keyHandle TpmHandle the symmetric key used for the operation Auth Index: 1 Auth Role: USER
the_decrypt byte if YES, then the operation is decryption; if NO, the operation is encryption
the_mode TpmAlgId symmetric mode this field shall match the default mode of the key or be TPM_ALG_NULL.
the_ivIn byte an initial value as required by the algorithm
the_inData byte the data to be encrypted/decrypted
return System