vibe.d beta banner
get vibe.d
0.8.4

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

Class BotanTLSStream

class BotanTLSStream ;

Constructors

NameDescription
this
this

Fields

NameTypeDescription
m_alertCB OnAlert
m_cert_compat TLSCertificateInformation
m_cipher TLSCiphersuite
m_ctx BotanTLSContext
m_ex Exception
m_handshakeComplete OnHandshakeComplete
m_peer_cert X509Certificate
m_session_age SysTime
m_sess_id ubyte[]
m_stream InterfaceProxy!Stream
m_tlsChannel TLSBlockingChannel
m_ver TLSProtocolVersion

Properties

NameTypeDescription
alpn[get] string
cipher[get] TLSCiphersuiteReturns the complete ciphersuite details from the negotiated TLS connection
dataAvailableForRead[get] bool
empty[get] bool
leastSize[get] ulong
peerCertificate[get] TLSCertificateInformation
protocol[get] TLSProtocolVersionReturns the negotiated version of the TLS Protocol
sessionId[get] const(ubyte[])Get the session ID
started[get] SysTimeReturns the date/time the session was started
x509Certificate[get] const(X509Certificate)Returns the remote public certificate from the chain

Methods

NameDescription
finalize
flush
onAlert
onHandhsakeComplete
onRead
onWrite
peek
processException
read
readChunk
setAlertCallback
setHandshakeCallback
write

Aliases

NameDescription
read
write
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.