vibe.d beta banner
get vibe.d
0.10.0

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

Class CustomTLSCredentials

class CustomTLSCredentials ;

Constructors

NameDescription
this ()
this (validation_mode)
this (server_cert, ca_cert, server_key)

Fields

NameTypeDescription
m_ca_cert X509Certificate
m_key PrivateKey
m_max_cert_chain_length int
m_server_cert X509Certificate
m_stores Vector!CertificateStore
m_validationMode TLSPeerValidationMode

Methods

NameDescription
attemptSrp (type, context)
certChain (cert_key_types, type, )
certChainSingleType (cert_key_type, type, context)
hasPsk ()
privateKeyFor (, , )
psk (type, context, identity)
pskIdentity (type, context, identity_hint)
pskIdentityHint (type, context)
srpIdentifier (type, context)
srpPassword (type, context, identifier)
srpVerifier (type, context, identifier, group_name, verifier, salt, generate_fake_on_unknown)
trustedCertificateAuthorities (, )
verifyCertificateChain (type, purported_hostname, cert_chain)
Authors

Sönke Ludwig, Etienne Cimon

Copyright

© 2015 RejectedSoftware e.K., GlobecSys Inc

License

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