Botan 3.9.0
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 |
Referenced by Botan::TPM2::Session, operator=(), operator=(), SessionHandle(), and SessionHandle().
|
delete |
References SessionHandle().
|
delete |
References SessionHandle().
Botan::TPM2::detail::SessionHandle::~SessionHandle | ( | ) |
Definition at line 130 of file tpm2_session.cpp.
|
nodiscardnoexcept |
Definition at line 138 of file tpm2_session.cpp.
|
delete |
References SessionHandle().
|
delete |
References SessionHandle().
|
friend |
Definition at line 77 of file tpm2_session.h.
References Botan::TPM2::Session, and SessionHandle().
Referenced by Botan::TPM2::Session.