vibe.d beta banner
get vibe.d
0.9.0

Asynchronous I/O that doesn’t get in your way, written in D

Class CustomTLSPolicy

TLS Policy as a settings object

class CustomTLSPolicy ;

Fields

NameTypeDescription
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

NameTypeDescription
ciphers[get] TLSCiphersuite[]
minDHGroupSize[set] int
minDHGroupSize[get] int
minProtocolVersion[set] TLSProtocolVersionSets the minimum acceptable protocol version
minProtocolVersion[get] TLSProtocolVersionGet the minimum acceptable protocol version
priorityCiphersOnly[set] boolSet to true to use excuslively priority ciphers passed through "addCiphersuites"
priorityCiphersOnly[get] bool
priorityCurves[get] string[]
priorityCurvesOnly[set] boolUses only priority curves passed through "add"
priorityCurvesOnly[get] bool

Methods

NameDescription
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 ()
Authors

Sönke Ludwig, Etienne Cimon

Copyright

© 2015 Sönke Ludwig, GlobecSys Inc

License

Subject to the terms of the MIT license, as written in the included LICENSE.txt file.