Class CustomTLSPolicy
TLS Policy as a settings object
class CustomTLSPolicy
;
Fields
Name | Type | Description |
---|---|---|
m_min_dh_group_size
|
int | |
m_min_ver
|
TLSProtocolVersion | |
m_pri_ciphers_exclusive
|
bool | |
m_pri_ciphersuites
|
Vector!TLSCiphersuite | |
m_pri_curves_exclusive
|
bool | |
m_pri_ecc_curves
|
Vector!string | |
m_session_lifetime
|
Duration |
Properties
Name | Type | Description |
---|---|---|
ciphers [get]
|
TLSCiphersuite[] | |
minDHGroupSize [set]
|
int | |
minDHGroupSize [get]
|
int | |
minProtocolVersion [set]
|
TLSProtocolVersion | Sets the minimum acceptable protocol version |
minProtocolVersion [get]
|
TLSProtocolVersion | Get the minimum acceptable protocol version |
priorityCiphersOnly [set]
|
bool | Set to true to use excuslively priority ciphers passed through "addCiphersuites" |
priorityCiphersOnly [get]
|
bool | |
priorityCurves [get]
|
string[] | |
priorityCurvesOnly [set]
|
bool | Uses only priority curves passed through "add" |
priorityCurvesOnly [get]
|
bool |
Methods
Name | Description |
---|---|
acceptableProtocolVersion
(_version)
|
|
addPriorityCiphersuites
(suites)
|
Add a cipher suite to the priority ciphers with lowest ordering value |
addPriorityCurves
(curves)
|
|
allowedEccCurves
()
|
|
chooseCurve
(curve_names)
|
|
ciphersuiteList
(_version, have_srp)
|
|
minimumDhGroupSize
()
|
|
sessionTicketLifetime
()
|