stub_libsecurity.cc
Go to the documentation of this file.
23 Security::ContextPointer BlindPeerConnector::getTlsContext() STUB_RETVAL(Security::ContextPointer())
29 std::ostream &Security::operator <<(std::ostream &os, const Security::EncryptorAnswer &) STUB_RETVAL(os)
37 Security::IoResult Security::Connect(Comm::Connection &) STUB_RETVAL(IoResult(IoResult::ioError))
50 Security::ErrorDetail::ErrorDetail(ErrorCode, const CertPointer &, const CertPointer &, const char *) STUB
65 void Security::NegotiationHistory::retrieveParsedInfo(Security::TlsDetails::Pointer const &) STUB
67 const char *Security::NegotiationHistory::printTlsVersion(AnyP::ProtocolVersion const &) const STUB
74 PeerConnector::PeerConnector(const Comm::ConnectionPointer &, AsyncCall::Pointer &, const AccessLogEntryPointer &, const time_t) :
110 Security::ContextPointer Security::PeerOptions::createClientContext(bool) STUB_RETVAL(Security::ContextPointer())
112 Security::ContextPointer Security::PeerOptions::createBlankContext() const STUB_RETVAL(Security::ContextPointer())
123 Security::ServerOptions &Security::ServerOptions::operator=(Security::ServerOptions const&) STUB_RETVAL(*this);
126 Security::ContextPointer Security::ServerOptions::createBlankContext() const STUB_RETVAL(Security::ContextPointer())
130 bool Security::ServerOptions::updateContextConfig(Security::ContextPointer &) STUB_RETVAL(false)
138 bool CreateClientSession(const Security::ContextPointer &, const Comm::ConnectionPointer &, const char *) STUB_RETVAL(false)
139 bool CreateServerSession(const Security::ContextPointer &, const Comm::ConnectionPointer &, Security::PeerOptions &, const char *) STUB_RETVAL(false)
142 void MaybeGetSessionResumeData(const Security::SessionPointer &, Security::SessionStatePointer &) STUB
143 void SetSessionResumeData(const Security::SessionPointer &, const Security::SessionStatePointer &) STUB
146 Security::SessionPointer NewSessionObject(const Security::ContextPointer &) STUB_RETVAL(nullptr)
bool CreateClientSession(const Security::ContextPointer &, const Comm::ConnectionPointer &, const char *squidCtx)
Definition: Session.cc:183
ErrorCode ErrorCodeFromName(const char *name)
Definition: ErrorDetail.cc:408
PeerConnector(const Comm::ConnectionPointer &aServerConn, AsyncCall::Pointer &aCallback, const AccessLogEntryPointer &alp, const time_t timeout=0)
Definition: PeerConnector.cc:37
Definition: AsyncJob.h:32
int ErrorCode
Squid-defined error code (<0), an error code returned by X.509 API, or zero.
Definition: forward.h:102
Definition: FilledChecklist.h:33
Security::ContextPointer createClientContext(bool setOptions)
generate a security client-context from these configured options
Definition: PeerOptions.cc:271
void MaybeGetSessionResumeData(const Security::SessionPointer &, Security::SessionStatePointer &data)
Definition: Session.cc:225
AnyP::ProtocolVersion ProtocolVersion()
Protocol version to use in Http::Message structures wrapping FTP messages.
Definition: Elements.cc:24
Definition: EncryptorAnswer.h:22
virtual Security::ContextPointer createBlankContext() const
generate an unset security context object
Definition: ServerOptions.cc:158
Security::LockingPointer< X509, X509_free_cpp, HardFun< int, X509 *, X509_up_ref > > CertPointer
Definition: forward.h:74
virtual bool initialize(Security::SessionPointer &)
Definition: BlindPeerConnector.cc:34
Abstraction layer for TCP, UDP, TLS, UDS and filedescriptor sockets.
Definition: AcceptLimiter.h:17
HandshakeParser(MessageSource)
Definition: Handshake.cc:219
Definition: Connection.h:71
Definition: Packable.h:53
PeerOptions ProxyOutgoingConfig
configuration options for DIRECT server access
Definition: PeerOptions.cc:24
void SessionSendGoodbye(const Security::SessionPointer &)
send the shutdown/bye notice for an active TLS session.
Definition: Session.cc:199
bool SessionIsResumed(const Security::SessionPointer &)
whether the session is a resumed one
Definition: Session.cc:212
Definition: PortCfg.h:25
void loadFromFiles(const AnyP::PortCfg &, const char *portType)
load the contents of certFile and privateKeyFile into memory cert, pkey and chain
Definition: KeyData.cc:191
Definition: forward.h:15
void setPeerCertificate(const CertPointer &)
Definition: ErrorDetail.cc:488
NegotiationHistory()
Definition: NegotiationHistory.cc:18
std::ostream &Security::operator<<(std::ostream &os, const Security::EncryptorAnswer &) STUB_RETVAL(os) Security CBDATA_NAMESPACED_CLASS_INIT(Security, PeerConnector)
Definition: stub_libsecurity.cc:71
void SetSessionCacheCallbacks(Security::ContextPointer &)
Setup the given TLS context with callbacks used to manage the session cache.
Definition: Session.cc:375
Security::SessionPointer NewSessionObject(const Security::ContextPointer &)
Definition: Session.cc:90
virtual SBuf verbose(const HttpRequestPointer &) const
Definition: ErrorDetail.cc:531
void ForgetErrors()
clear any errors that a TLS library has accumulated in its global storage
Definition: Io.cc:56
const char * ErrorNameFromCode(ErrorCode err, bool prefixRawCode=false)
Definition: ErrorDetail.cc:428
void maybeLog(const Connection &, const Acl::ChecklistFiller &)
(slowly checks logging preconditions and) logs if possible
Definition: KeyLogger.cc:22
bool CreateServerSession(const Security::ContextPointer &, const Comm::ConnectionPointer &, Security::PeerOptions &, const char *squidCtx)
Definition: Session.cc:193
Definition: RefCount.h:27
ErrorDetail(ErrorCode err_no, const CertPointer &peer, const CertPointer &broken, const char *aReason=NULL)
Definition: ErrorDetail.cc:464
std::ostream & operator<<(std::ostream &, const Security::EncryptorAnswer &)
Definition: EncryptorAnswer.cc:20
virtual void dumpCfg(Packable *, const char *pfx) const
output squid.conf syntax with 'pfx' prefix on parameters for the stored settings
Definition: ServerOptions.cc:135
std::unique_ptr< SSL_SESSION, HardFun< void, SSL_SESSION *, &SSL_SESSION_free > > SessionStatePointer
Definition: Session.h:51
IoResult Connect(Comm::Connection &transport)
establish a TLS connection over the specified from-Squid transport connection
Definition: Io.cc:213
Definition: CommCalls.h:139
Definition: DiskThreadsDiskFile.h:71
Definition: CommCalls.h:133
Security::ParsedOptions parsedOptions
Definition: PeerOptions.h:95
IoResult Accept(Comm::Connection &transport)
accept a TLS connection over the specified to-Squid transport connection
Definition: Io.cc:198
Definition: errorpage.h:87
ServerOptions & operator=(const ServerOptions &)
Definition: ServerOptions.cc:30
interface for supplying additional information about a transaction failure
Definition: Detail.h:21
an interface for those capable of configuring an ACLFilledChecklist object
Definition: ChecklistFiller.h:19
void parse_securePeerOptions(Security::PeerOptions *opt)
Definition: PeerOptions.cc:801
void SetSessionResumeData(const Security::SessionPointer &, const Security::SessionStatePointer &)
Definition: Session.cc:246