#include <EncryptorAnswer.h>
Public Member Functions | |
EncryptorAnswer () | |
~EncryptorAnswer () | |
deletes error if it is still set More... | |
Public Attributes | |
Comm::ConnectionPointer | conn |
peer connection (secured on success) More... | |
CbcPointer< ErrorState > | error |
problem details (nil on success) More... | |
bool | tunneled |
whether we spliced the connections instead of negotiating encryption More... | |
Detailed Description
Peer encrypted connection setup results (supplied via a callback). The connection to peer was secured if and only if the error member is nil.
Definition at line 21 of file EncryptorAnswer.h.
Constructor & Destructor Documentation
◆ EncryptorAnswer()
|
inline |
Definition at line 24 of file EncryptorAnswer.h.
◆ ~EncryptorAnswer()
Security::EncryptorAnswer::~EncryptorAnswer | ( | ) |
Definition at line 14 of file EncryptorAnswer.cc.
References error, and CbcPointer< Cbc >::get().
Member Data Documentation
◆ conn
Comm::ConnectionPointer Security::EncryptorAnswer::conn |
Definition at line 26 of file EncryptorAnswer.h.
Referenced by FwdState::connectedToPeer(), Adaptation::Icap::Xaction::handleSecuredPeer(), PeerPoolMgr::handleSecuredPeer(), TunnelStateData::noteSecurityPeerConnectorAnswer(), and Security::operator<<().
◆ error
CbcPointer<ErrorState> Security::EncryptorAnswer::error |
answer recipients must clear the error member in order to keep its info XXX: We should refcount ErrorState instead of cbdata-protecting it.
Definition at line 30 of file EncryptorAnswer.h.
Referenced by ~EncryptorAnswer(), FwdState::connectedToPeer(), Adaptation::Icap::Xaction::handleSecuredPeer(), PeerPoolMgr::handleSecuredPeer(), TunnelStateData::noteSecurityPeerConnectorAnswer(), and Security::operator<<().
◆ tunneled
bool Security::EncryptorAnswer::tunneled |
Definition at line 33 of file EncryptorAnswer.h.
Referenced by FwdState::connectedToPeer(), Adaptation::Icap::Xaction::handleSecuredPeer(), PeerPoolMgr::handleSecuredPeer(), and TunnelStateData::noteSecurityPeerConnectorAnswer().
The documentation for this class was generated from the following files:
- src/security/EncryptorAnswer.h
- src/security/EncryptorAnswer.cc
- src/tests/stub_libsecurity.cc