CodeQL library for C/C++
Search

Module BoostorgAsio

Import path

import semmle.code.cpp.security.boostorg.asio.protocols

Predicates

getShiftedSslOptionsNoSsl2

Gets the value for the no_sslv2 constant, right shifted by 16 bits.

getShiftedSslOptionsNoSsl3

Gets the value for the no_sslv3 constant, right shifted by 16 bits.

getShiftedSslOptionsNoTls1

Gets the value for the no_tlsv1 constant, right shifted by 16 bits.

getShiftedSslOptionsNoTls1_1

Gets the value for the no_tlsv1_1 constant, right shifted by 16 bits.

getShiftedSslOptionsNoTls1_2

Gets the value for the no_tlsv1_2 constant, right shifted by 16 bits.

getShiftedSslOptionsNoTls1_3

Gets the value for the no_tlsv1_3 constant, right shifted by 16 bits.

isExprBannedBoostProtocol

Holds if the expression represents a banned protocol.

isExprSslV23BoostProtocol

Holds if the expression represents a generic SSl/TLS protocol.

isExprTls12BoostProtocol

Holds if the expression represents a TLS v1.2 protocol.

isExprTls13BoostProtocol

Holds if the expression represents a protocol that requires Crypto Board approval.

isExprTlsBoostProtocol

Holds if the expression represents a generic TLS or SSL/TLS protocol.

Classes

SslContextCallAbstractConfig

Abstract class for flows of protocol values to the first argument of a context constructor.

SslContextCallBannedProtocolConfig

A banned protocol value that flows to the first argument of a context constructor.

SslContextCallConfig

Any protocol value that flows to the first argument of a context constructor.

SslContextCallTls12ProtocolConfig

A TLS 1.2 protocol value that flows to the first argument of a context constructor.

SslContextCallTls13ProtocolConfig

A TLS 1.3 protocol value that flows to the first argument of a context constructor.

SslContextCallTlsProtocolConfig

A generic TLS protocol value that flows to the first argument of a context constructor.

SslContextClass

Represents the boost::asio::ssl::context class.

SslContextFlowsToSetOptionConfig

A context constructor call that flows to a call to SetOptions().

SslContextMethod

Represents the boost::asio::ssl::context enum.

SslOptionConfig

An option value that flows to the first parameter of a call to SetOptions().

SslSetOptionsFunction

Represents boost::asio::ssl::context::set_options member function.