Ark Server API (ASE) - Wiki
Loading...
Searching...
No Matches
Poco::Net::Context::Params Struct Reference

#include <Context.h>

Public Member Functions

 Params ()
 

Public Attributes

std::string privateKeyFile
 Initializes the struct with default values.
 
std::string certificateFile
 
std::string caLocation
 
VerificationMode verificationMode
 
int verificationDepth
 
bool loadDefaultCAs
 
bool ocspStaplingVerification
 
std::string cipherList
 
std::string dhParamsFile
 
bool dhUse2048Bits
 
std::string ecdhCurve
 

Detailed Description

Definition at line 129 of file Context.h.

Constructor & Destructor Documentation

◆ Params()

Poco::Net::Context::Params::Params ( )

Member Data Documentation

◆ caLocation

std::string Poco::Net::Context::Params::caLocation

Path to the certificate file (in PEM format).

If the private key and the certificate are stored in the same file, this can be empty if privateKeyFile is given.

Definition at line 144 of file Context.h.

◆ certificateFile

std::string Poco::Net::Context::Params::certificateFile

Path to the private key file used for encryption. Can be empty if no private key file is used.

Definition at line 138 of file Context.h.

◆ cipherList

std::string Poco::Net::Context::Params::cipherList

Specifies whether Client should verify OCSP Response Defaults to false.

Definition at line 166 of file Context.h.

◆ dhParamsFile

std::string Poco::Net::Context::Params::dhParamsFile

Specifies the supported ciphers in OpenSSL notation. Defaults to "ALL:!ADH:!LOW:!EXP:!MD5:@STRENGTH".

Definition at line 170 of file Context.h.

◆ dhUse2048Bits

bool Poco::Net::Context::Params::dhUse2048Bits

Specifies a file containing Diffie-Hellman parameters. If empty, the default parameters are used.

Definition at line 174 of file Context.h.

◆ ecdhCurve

std::string Poco::Net::Context::Params::ecdhCurve

If set to true, will use 2048-bit MODP Group with 256-bit prime order subgroup (RFC5114) instead of 1024-bit for DH.

Definition at line 178 of file Context.h.

◆ loadDefaultCAs

bool Poco::Net::Context::Params::loadDefaultCAs

Sets the upper limit for verification chain sizes. Verification will fail if a certificate chain larger than this is encountered. Defaults to 9.

Definition at line 158 of file Context.h.

◆ ocspStaplingVerification

bool Poco::Net::Context::Params::ocspStaplingVerification

Specifies whether the builtin CA certificates from OpenSSL are used. Defaults to false.

Definition at line 162 of file Context.h.

◆ privateKeyFile

std::string Poco::Net::Context::Params::privateKeyFile

Initializes the struct with default values.

Definition at line 134 of file Context.h.

◆ verificationDepth

int Poco::Net::Context::Params::verificationDepth

Specifies whether and how peer certificates are validated. Defaults to VERIFY_RELAXED.

Definition at line 153 of file Context.h.

◆ verificationMode

VerificationMode Poco::Net::Context::Params::verificationMode

Path to the file or directory containing the CA/root certificates. Can be empty if the OpenSSL builtin CA certificates are used (see loadDefaultCAs).

Definition at line 149 of file Context.h.


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