Botan 3.6.1
Crypto and TLS for C&
|
#include <tpm2_session.h>
Public Member Functions | |
operator ESYS_TR () &&noexcept | |
SessionHandle & | operator= (const SessionHandle &)=delete |
SessionHandle & | operator= (SessionHandle &&)=delete |
SessionHandle ()=default | |
SessionHandle (const SessionHandle &)=delete | |
SessionHandle (SessionHandle &&)=delete | |
~SessionHandle () | |
Friends | |
class | Botan::TPM2::Session |
This wraps a Session object and ensures that the session's attributes are restored to their original state after they have been modified by a (failing) TSS2 library function.
This is a workaround for the fact that TSS2 library calls may modify the session's attributes and not reset them when the call fails.
Definition at line 62 of file tpm2_session.h.
|
default |
|
delete |
|
delete |
|
inline |
Definition at line 159 of file tpm2_session.h.
|
nodiscardnoexcept |
Definition at line 127 of file tpm2_session.cpp.
|
delete |
|
delete |
|
friend |
Definition at line 75 of file tpm2_session.h.