PcapPlusPlus
|
#include <SSLHandshake.h>
Public Member Functions | |
SSLCipherSuite (uint16_t id, SSLKeyExchangeAlgorithm keyExAlg, SSLAuthenticationAlgorithm authAlg, SSLSymetricEncryptionAlgorithm symKeyAlg, SSLHashingAlgorithm MACAlg, const char *name) | |
uint16_t | getID () |
std::string | asString () |
SSLKeyExchangeAlgorithm | getKeyExchangeAlg () |
SSLAuthenticationAlgorithm | getAuthAlg () |
SSLSymetricEncryptionAlgorithm | getSymKeyAlg () |
SSLHashingAlgorithm | getMACAlg () |
Static Public Member Functions | |
static SSLCipherSuite * | getCipherSuiteByID (uint16_t id) |
static SSLCipherSuite * | getCipherSuiteByName (std::string name) |
Represents a cipher-suite and enables access all information about it such as all algorithms it encapsulates, its ID (as appears in the client-hello or server-hello messages), its name (e.g "TLS_DH_RSA_WITH_CAMELLIA_128_CBC_SHA") etc. PcapPlusPlus contains static instances of this type for all known cipher-suites and enables access to them through name or ID (see getCipherSuiteByID() and getCipherSuiteByName() ). List of cipher-suite was taken from here: http://www.iana.org/assignments/tls-parameters/tls-parameters.xhtml
|
inline |
A c'tor for this class, should never be used by a user
[in] | id | Cipher-suite ID |
[in] | keyExAlg | Key-exchange algorithm used in this cipher-suite |
[in] | authAlg | Authentication algorithm used in this cipher-suite |
[in] | symKeyAlg | Symmetric key algorithm used in this cipher-suite |
[in] | MACAlg | MAC algorithm used in this cipher-suite |
[in] | name | String representation of this cipher-suite |
|
inline |
|
inline |
|
static |
A static method that returns a cipher-suite instance by ID
[in] | id | Cipher-suite ID |
|
static |
A static method that returns a cipher-suite instance by name
[in] | name | Cipher-suite name (e.g "TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA") |
|
inline |
|
inline |
|
inline |
|
inline |