Botan 3.6.1
Crypto and TLS for C&
|
#include <tpm2_session.h>
Static Public Member Functions | |
static SessionAttributes | read (TPMA_SESSION attributes) |
static TPMA_SESSION | render (SessionAttributes attributes) |
Public Attributes | |
bool | audit = false |
Indicates that the session is fused for audit and that audit_exclusive and audit_reset have meaning. | |
bool | audit_exclusive = false |
Indicates that a command should only be executed if the session is exclusive. | |
bool | audit_reset = false |
Indicates that the audit digest should be initialized and exclusive status of the session SET. | |
bool | continue_session = false |
The session may or may not remain active after the successful completion of any command. | |
bool | decrypt = false |
Indicates that the first parameter of the command is to be decrypted by the TPM. | |
bool | encrypt = false |
Indicates that the first parameter of a command's response is to be encrypted by the TPM. | |
See TPM 2.0 Part 2, Section 8.4
Definition at line 26 of file tpm2_session.h.
|
static |
Definition at line 33 of file tpm2_session.cpp.
Referenced by Botan::TPM2::Session::attributes().
|
static |
Definition at line 37 of file tpm2_session.cpp.
Referenced by Botan::TPM2::Session::set_attributes().
bool Botan::TPM2::SessionAttributes::audit = false |
Indicates that the session is fused for audit and that audit_exclusive and audit_reset have meaning.
Definition at line 46 of file tpm2_session.h.
bool Botan::TPM2::SessionAttributes::audit_exclusive = false |
Indicates that a command should only be executed if the session is exclusive.
Definition at line 34 of file tpm2_session.h.
bool Botan::TPM2::SessionAttributes::audit_reset = false |
Indicates that the audit digest should be initialized and exclusive status of the session SET.
Definition at line 37 of file tpm2_session.h.
bool Botan::TPM2::SessionAttributes::continue_session = false |
The session may or may not remain active after the successful completion of any command.
Definition at line 31 of file tpm2_session.h.
bool Botan::TPM2::SessionAttributes::decrypt = false |
Indicates that the first parameter of the command is to be decrypted by the TPM.
Definition at line 40 of file tpm2_session.h.
bool Botan::TPM2::SessionAttributes::encrypt = false |
Indicates that the first parameter of a command's response is to be encrypted by the TPM.
Definition at line 43 of file tpm2_session.h.