HandshakeState

SSL/TLS Handshake State

package
static if(BOTAN_HAS_TLS)
class HandshakeState {}

Constructors

this
this(HandshakeIO io, void delegate(in HandshakeMessage) msg_callback)
Undocumented in source.

Destructor

~this
~this()
Undocumented in source.

Members

Functions

Version
const(TLSProtocolVersion) Version()
Undocumented in source. Be warned that the author may not have intended to support it.
certReq
void certReq(CertificateReq cert_req)
Undocumented in source. Be warned that the author may not have intended to support it.
certReq
const(CertificateReq) certReq()
Undocumented in source. Be warned that the author may not have intended to support it.
chooseSigFormat
const(Pair!(string, SignatureFormat)) chooseSigFormat(PrivateKey key, string hash_algo_out, string sig_algo_out, bool for_client_auth, TLSPolicy policy)
Undocumented in source. Be warned that the author may not have intended to support it.
ciphersuite
const(TLSCiphersuite) ciphersuite()
Undocumented in source. Be warned that the author may not have intended to support it.
clientCerts
void clientCerts(Certificate client_certs)
Undocumented in source. Be warned that the author may not have intended to support it.
clientCerts
const(Certificate) clientCerts()
Undocumented in source. Be warned that the author may not have intended to support it.
clientFinished
void clientFinished(Finished client_finished)
Undocumented in source. Be warned that the author may not have intended to support it.
clientFinished
const(Finished) clientFinished()
Undocumented in source. Be warned that the author may not have intended to support it.
clientHello
void clientHello(ClientHello clientHello)
Undocumented in source. Be warned that the author may not have intended to support it.
clientHello
const(ClientHello) clientHello()
Undocumented in source. Be warned that the author may not have intended to support it.
clientKex
void clientKex(ClientKeyExchange client_kex)
Undocumented in source. Be warned that the author may not have intended to support it.
clientKex
const(ClientKeyExchange) clientKex()
Undocumented in source. Be warned that the author may not have intended to support it.
clientVerify
void clientVerify(CertificateVerify client_verify)
Undocumented in source. Be warned that the author may not have intended to support it.
clientVerify
const(CertificateVerify) clientVerify()
Undocumented in source. Be warned that the author may not have intended to support it.
computeSessionKeys
void computeSessionKeys()
Undocumented in source. Be warned that the author may not have intended to support it.
computeSessionKeys
void computeSessionKeys(SecureVector!ubyte resume_master_secret)
Undocumented in source. Be warned that the author may not have intended to support it.
confirmTransitionTo
void confirmTransitionTo(HandshakeType handshake_msg)

Confirm that we were expecting this message type

getNextHandshakeMsg
NextRecord getNextHandshakeMsg()
Undocumented in source. Be warned that the author may not have intended to support it.
handshakeIo
HandshakeIO handshakeIo()
Undocumented in source. Be warned that the author may not have intended to support it.
hash
HandshakeHash hash()
Undocumented in source. Be warned that the author may not have intended to support it.
hash
const(HandshakeHash) hash()
Undocumented in source. Be warned that the author may not have intended to support it.
helloVerifyRequest
void helloVerifyRequest(HelloVerifyRequest hello_verify)
Undocumented in source. Be warned that the author may not have intended to support it.
newSessionTicket
void newSessionTicket(NewSessionTicket new_session_ticket)
Undocumented in source. Be warned that the author may not have intended to support it.
newSessionTicket
const(NewSessionTicket) newSessionTicket()
Undocumented in source. Be warned that the author may not have intended to support it.
noteMessage
void noteMessage(HandshakeMessage msg)
Undocumented in source. Be warned that the author may not have intended to support it.
protocolSpecificPrf
KDF protocolSpecificPrf()
Undocumented in source. Be warned that the author may not have intended to support it.
receivedHandshakeMsg
bool receivedHandshakeMsg(HandshakeType handshake_msg)

Return true iff we have received a particular message already

serverCerts
void serverCerts(Certificate server_certs)
Undocumented in source. Be warned that the author may not have intended to support it.
serverCerts
const(Certificate) serverCerts()
Undocumented in source. Be warned that the author may not have intended to support it.
serverFinished
void serverFinished(Finished server_finished)
Undocumented in source. Be warned that the author may not have intended to support it.
serverFinished
const(Finished) serverFinished()
Undocumented in source. Be warned that the author may not have intended to support it.
serverHello
void serverHello(ServerHello server_hello)
Undocumented in source. Be warned that the author may not have intended to support it.
serverHello
const(ServerHello) serverHello()
Undocumented in source. Be warned that the author may not have intended to support it.
serverHelloDone
void serverHelloDone(ServerHelloDone server_hello_done)
Undocumented in source. Be warned that the author may not have intended to support it.
serverHelloDone
const(ServerHelloDone) serverHelloDone()
Undocumented in source. Be warned that the author may not have intended to support it.
serverKex
void serverKex(ServerKeyExchange server_kex)
Undocumented in source. Be warned that the author may not have intended to support it.
serverKex
const(ServerKeyExchange) serverKex()
Undocumented in source. Be warned that the author may not have intended to support it.
sessionKeys
const(TLSSessionKeys) sessionKeys()
Undocumented in source. Be warned that the author may not have intended to support it.
sessionTicket
Vector!ubyte sessionTicket()
Undocumented in source. Be warned that the author may not have intended to support it.
setExpectedNext
void setExpectedNext(HandshakeType handshake_msg)

Record that we are expecting a particular message type next

setVersion
void setVersion(TLSProtocolVersion _version)
Undocumented in source. Be warned that the author may not have intended to support it.
srpIdentifier
const(string) srpIdentifier()
Undocumented in source. Be warned that the author may not have intended to support it.
understandSigFormat
const(Pair!(string, SignatureFormat)) understandSigFormat(PublicKey key, string hash_algo, string sig_algo, bool for_client_auth)
Undocumented in source. Be warned that the author may not have intended to support it.

Meta