|
| | cSecureServerStream (cSecureServerFactory *pFactory, IUnkObject *pServerConnection, cStreamInput *pStreamInp, cStreamOutput *pStreamOut) |
| |
| virtual | ~cSecureServerStream () |
| |
| | IUNKNOWN_DISAMBIG (cRefBase) |
| |
| virtual HRESULT | DisposeThis () override |
| |
| HASHCODE_t | get_HashCode () const noexcept |
| |
| | STDMETHOD_ (HASHCODE_t, get_HashCodeX)() const noexcept override |
| |
| cStreamInput * | get_SecureInp () const |
| |
| cStreamOutput * | get_SecureOut () const |
| |
| virtual HRESULT | SetStateSecure () |
| |
| virtual HRESULT | ProcessStreamPacket () override |
| |
| | cRefBase (int iRefCount=0) noexcept |
| |
| virtual | ~cRefBase () |
| |
| int | get_RefCount () const noexcept |
| |
| HASHCODE_t | get_HashCode () const noexcept |
| |
| | STDMETHOD_ (HASHCODE_t, get_HashCodeX)() const noexcept |
| |
| virtual void | onFinalRelease () |
| |
| bool | isValidObj () const noexcept |
| |
| | STDMETHOD_ (ULONG, AddRef)(void) override |
| |
| | STDMETHOD_ (ULONG, Release)(void) override |
| |
| STDMETHOD() | QueryInterface (const IID &riid, void __RPC_FAR *__RPC_FAR *ppvObject) override |
| |
| void | IncRefCount () |
| |
| void | DecRefCount () |
| |
| bool | isStaticConstruct () const noexcept |
| |
| void | StaticConstruct () |
| |
| void | StaticDestruct () |
| |
| bool | isDestructing () noexcept |
| |
| void | SetDestructing () |
| |
| | cSecureChannel () |
| |
| virtual | ~cSecureChannel () |
| |
| STATE_TYPE | get_State () const noexcept |
| |
| bool | isStateSecure () const noexcept |
| |
| cStreamInput * | get_SecureInp () const |
| |
| cStreamOutput * | get_SecureOut () const |
| |
| | UNITTEST_FRIEND (cSecureChannel) |
| |
| | cProtocolStream (IProtocolFactory *pProtocolFactory, IUnkObject *pServerConnection, cStreamInput *pStreamInp, cStreamOutput *pStreamOut) |
| |
| virtual | ~cProtocolStream () |
| |
| HASHCODE_t | get_HashCode () const noexcept |
| |
| | STDMETHOD_ (HASHCODE_t, get_HashCodeX)() const noexcept override |
| |
| | STDMETHOD_ (cString, get_Name)() const override |
| |
| | STDMETHOD_ (cStringA, get_SymName)() const override |
| |
| bool | isConnected () const |
| |
| cStreamInput * | get_StreamInp () const |
| |
| cStreamOutput * | get_StreamOut () const |
| |
| virtual size_t | get_ProtocolMaxMessageSize () const |
| |
| virtual HRESULT | OnTickStream () |
| |
|
| enum | STATE_TYPE {
STATE_0 = 0
, Client_Knock
, Server_Challenge
, Client_Login
,
STATE_Secure
, STATE_Failed
} |
| |
| static void GRAYCALL | ComputeHash (OUT cSecureHash &rHash, const cHashCode &r1, const cHashCode &r2) |
| |
| HRESULT | GetCipher (OUT cNewPtr< cCipherBase > &rCipher, bool bEncodeMode, const cSecureHash &hashKey) |
| |
| STATE_TYPE | m_eState |
| | current state of the negotiation of the connection. More...
|
| |
| cSecureKnock::CIPHER_TYPE | m_eCipherType |
| | the selected crypto type. <0=Failed login, 0=no crypt by choice, 1=cCipherRC4, 2=cCipherBlowfish More...
|
| |
| cNewPtr< cCipherBase > | m_pCipherEnc |
| | the selected encryption of the channel. More...
|
| |
| cNewPtr< cStreamCipherEnc > | m_pCipherOut |
| | m_pCipher as a encrypt/output stream. pads to get_BlockAlignSize(). m_pCipherEnc More...
|
| |
| cNewPtr< cCipherBase > | m_pCipherDec |
| | the selected decryption of the channel. More...
|
| |
| cNewPtr< cStreamCipherDec > | m_pCipherInp |
| | m_pCipher as a decrypt/input stream. m_pCipherDec More...
|
| |
| cStreamInput * | m_pStreamInp |
| | for use with ProcessStreamPacket() More...
|
| |
| cStreamOutput * | m_pStreamOut |
| | TX responses back to the remote client go here. (e.g. cNetServerConnection->cNetStream) More...
|
| |
| cString | m_sName |
| | a user readable name. Usually the IP address or reverse DNS lookup. can be upgraded as lookup or login becomes avail. m_pClient->get_Name() More...
|
| |
a secure channel/tunnel from the servers point of view. used to wrap/encapsulate other cProtocolStream types in m_pProtocol2.