![]() |
AnyConnect Secure Mobility Client
4.10.06090
|
#include <ProtocolInfo.h>
Public Member Functions | |
const tstring & | getProtocolValue (tstring &label) |
const tstring & | getValue (tstring &label) |
bool | isActive () |
ProtocolInfo (const ProtocolInfo *pInfo) | |
ProtocolInfo (STATE tunnelState, ProtocolVersion protocolVersion, ProtocolCipher protocolCipher, COMPR_ALGORITHM comprAlgorithm, bool bIsActive) | |
Static Public Member Functions | |
static const tstring::value_type *const * | getProtocolInfoStringTable () |
Static Public Attributes | |
static tstring | State |
static tstring | Protocol |
static tstring | Cipher |
static tstring | Compression |
Static Protected Attributes | |
static const tstring::value_type *const | sm_pProtocolInfoStringTable [] |
Friends | |
VPN_VPNAPI tostream & | operator<< (tostream &outStream, VPNStatsBase &stats) |
Use this class to retrieve details regarding the protocol in use for the VPN tunnel. These details include State, Protocol, Cipher and Compression.
It's possible multiple ProtocolInfo objects (for example, one each for TLS and DTLS protocol) are available. To check whether the Protocol for a given instance of ProtocolInfo is the currently active one, use the ProtocolInfo::isActive method.
Use this method to retrieve various protocol related values. The valid labels or tags to use in this retrieval include: State, Protocol, Cipher and Compression. (for example, getProtocolValue(State), getProtocolValue(Protocol), etc.)
Alias for getProtocolValue.
bool ProtocolInfo::isActive | ( | ) |
Return true if this is the active protocol.
|
static |
Use ProtocolInfo::getProtocolValue with this tag to get the Cipher value (for example, RSA_AES_256_SHA1).
|
static |
Use ProtocolInfo::getProtocolValue with this tag to get the Compression value (for example, Deflate). The returned compression value is a localized string.
|
static |
Use ProtocolInfo::getProtocolValue with this tag to get the protocol value (for example, DTLS).
|
static |
Use ProtocolInfo::getProtocolValue with this tag to get the current state of the referenced protocol. The returned state is a localized string.