Connection.h
Implemented by SSL adapter to handle certificate operations.
Definition: Certificate.h:58
virtual SessionId getSessionId() const =0
Gets the current session id object. Should be called after handshake.
Implemented by SSL adapter to create and manage SSL connections.
Definition: Components/ssl/include/Network/Ssl/Context.h:28
virtual int write(const uint8_t *data, size_t length)=0
Converts and sends plaintext data.
virtual const Certificate * getCertificate() const =0
Gets the certificate object. That object MUST be owned by the Connection implementation and should no...
virtual bool isHandshakeDone() const =0
Checks if the handshake has finished.
Definition: Printable.h:42
virtual void freeCertificate()=0
virtual int read(InputBuffer &input, uint8_t *&output)=0
Reads encrypted information and decrypts it.
virtual CipherSuite getCipherSuite() const =0
Gets the cipher suite that was used.
int writeTcpData(uint8_t *data, size_t length)
virtual String getErrorString(int error) const =0
Get string for error code.
Definition: Alert.h:15