DTLS::Handshake::HandshakeType Struct Reference

#include <dtls_handshake.hpp>

Public Member Functions

void setHelloRequest ()
 
void setClientHello ()
 
void setServerHello ()
 
void setCertificate ()
 
void setServerKeyExchange ()
 
void setCertificateRequest ()
 
void setServerHelloDone ()
 
void setCertificateVerify ()
 
void setClientKeyExchange ()
 
void setFinished ()
 
bool isHelloRequest ()
 
bool isClientHello ()
 
bool isServerHello ()
 
bool isCertificate ()
 
bool isServerKeyExchange ()
 
bool isCertificateRequest ()
 
bool isServerHelloDone ()
 
bool isCertificateVerify ()
 
bool isClientKeyExchange ()
 
bool isFinished ()
 

Public Attributes

uint8_t val
 

Static Public Attributes

static constexpr uint8_t helloRequest = 0
 
static constexpr uint8_t clientHello = 1
 
static constexpr uint8_t serverHello = 2
 
static constexpr uint8_t certificate = 11
 
static constexpr uint8_t serverKeyExchange = 12
 
static constexpr uint8_t certificateRequest = 13
 
static constexpr uint8_t serverHelloDone = 14
 
static constexpr uint8_t certificateVerify = 15
 
static constexpr uint8_t clientKeyExchange = 16
 
static constexpr uint8_t finished = 20
 

Detailed Description

Definition at line 9 of file dtls_handshake.hpp.

Member Function Documentation

◆ isCertificate()

bool DTLS::Handshake::HandshakeType::isCertificate ( )
inline

Definition at line 37 of file dtls_handshake.hpp.

◆ isCertificateRequest()

bool DTLS::Handshake::HandshakeType::isCertificateRequest ( )
inline

Definition at line 39 of file dtls_handshake.hpp.

◆ isCertificateVerify()

bool DTLS::Handshake::HandshakeType::isCertificateVerify ( )
inline

Definition at line 41 of file dtls_handshake.hpp.

◆ isClientHello()

bool DTLS::Handshake::HandshakeType::isClientHello ( )
inline

Definition at line 35 of file dtls_handshake.hpp.

◆ isClientKeyExchange()

bool DTLS::Handshake::HandshakeType::isClientKeyExchange ( )
inline

Definition at line 42 of file dtls_handshake.hpp.

◆ isFinished()

bool DTLS::Handshake::HandshakeType::isFinished ( )
inline

Definition at line 43 of file dtls_handshake.hpp.

◆ isHelloRequest()

bool DTLS::Handshake::HandshakeType::isHelloRequest ( )
inline

Definition at line 34 of file dtls_handshake.hpp.

◆ isServerHello()

bool DTLS::Handshake::HandshakeType::isServerHello ( )
inline

Definition at line 36 of file dtls_handshake.hpp.

◆ isServerHelloDone()

bool DTLS::Handshake::HandshakeType::isServerHelloDone ( )
inline

Definition at line 40 of file dtls_handshake.hpp.

◆ isServerKeyExchange()

bool DTLS::Handshake::HandshakeType::isServerKeyExchange ( )
inline

Definition at line 38 of file dtls_handshake.hpp.

◆ setCertificate()

void DTLS::Handshake::HandshakeType::setCertificate ( )
inline

Definition at line 26 of file dtls_handshake.hpp.

◆ setCertificateRequest()

void DTLS::Handshake::HandshakeType::setCertificateRequest ( )
inline

Definition at line 28 of file dtls_handshake.hpp.

◆ setCertificateVerify()

void DTLS::Handshake::HandshakeType::setCertificateVerify ( )
inline

Definition at line 30 of file dtls_handshake.hpp.

◆ setClientHello()

void DTLS::Handshake::HandshakeType::setClientHello ( )
inline

Definition at line 24 of file dtls_handshake.hpp.

◆ setClientKeyExchange()

void DTLS::Handshake::HandshakeType::setClientKeyExchange ( )
inline

Definition at line 31 of file dtls_handshake.hpp.

◆ setFinished()

void DTLS::Handshake::HandshakeType::setFinished ( )
inline

Definition at line 32 of file dtls_handshake.hpp.

◆ setHelloRequest()

void DTLS::Handshake::HandshakeType::setHelloRequest ( )
inline

Definition at line 23 of file dtls_handshake.hpp.

◆ setServerHello()

void DTLS::Handshake::HandshakeType::setServerHello ( )
inline

Definition at line 25 of file dtls_handshake.hpp.

◆ setServerHelloDone()

void DTLS::Handshake::HandshakeType::setServerHelloDone ( )
inline

Definition at line 29 of file dtls_handshake.hpp.

◆ setServerKeyExchange()

void DTLS::Handshake::HandshakeType::setServerKeyExchange ( )
inline

Definition at line 27 of file dtls_handshake.hpp.

Member Data Documentation

◆ certificate

constexpr uint8_t DTLS::Handshake::HandshakeType::certificate = 11
static

Definition at line 13 of file dtls_handshake.hpp.

◆ certificateRequest

constexpr uint8_t DTLS::Handshake::HandshakeType::certificateRequest = 13
static

Definition at line 15 of file dtls_handshake.hpp.

◆ certificateVerify

constexpr uint8_t DTLS::Handshake::HandshakeType::certificateVerify = 15
static

Definition at line 17 of file dtls_handshake.hpp.

◆ clientHello

constexpr uint8_t DTLS::Handshake::HandshakeType::clientHello = 1
static

Definition at line 11 of file dtls_handshake.hpp.

◆ clientKeyExchange

constexpr uint8_t DTLS::Handshake::HandshakeType::clientKeyExchange = 16
static

Definition at line 18 of file dtls_handshake.hpp.

◆ finished

constexpr uint8_t DTLS::Handshake::HandshakeType::finished = 20
static

Definition at line 19 of file dtls_handshake.hpp.

◆ helloRequest

constexpr uint8_t DTLS::Handshake::HandshakeType::helloRequest = 0
static

Definition at line 10 of file dtls_handshake.hpp.

◆ serverHello

constexpr uint8_t DTLS::Handshake::HandshakeType::serverHello = 2
static

Definition at line 12 of file dtls_handshake.hpp.

◆ serverHelloDone

constexpr uint8_t DTLS::Handshake::HandshakeType::serverHelloDone = 14
static

Definition at line 16 of file dtls_handshake.hpp.

◆ serverKeyExchange

constexpr uint8_t DTLS::Handshake::HandshakeType::serverKeyExchange = 12
static

Definition at line 14 of file dtls_handshake.hpp.

◆ val

uint8_t DTLS::Handshake::HandshakeType::val

Definition at line 21 of file dtls_handshake.hpp.


The documentation for this struct was generated from the following file: