blob: 419643e1d55dac3dceea48f1d36a1d869743cd32 [file] [log] [blame]
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="API documentation for the Rust `handshake` mod in crate `rustls`."><meta name="keywords" content="rust, rustlang, rust-lang, handshake"><title>rustls::internal::msgs::handshake - Rust</title><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../../SourceSerif4-Regular.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../../FiraSans-Regular.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../../FiraSans-Medium.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../../SourceCodePro-Regular.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../../SourceSerif4-Bold.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../../SourceCodePro-Semibold.ttf.woff2"><link rel="stylesheet" href="../../../../normalize.css"><link rel="stylesheet" href="../../../../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" href="../../../../ayu.css" disabled><link rel="stylesheet" href="../../../../dark.css" disabled><link rel="stylesheet" href="../../../../light.css" id="themeStyle"><script id="default-settings" ></script><script src="../../../../storage.js"></script><script defer src="../../../../main.js"></script><noscript><link rel="stylesheet" href="../../../../noscript.css"></noscript><link rel="alternate icon" type="image/png" href="../../../../favicon-16x16.png"><link rel="alternate icon" type="image/png" href="../../../../favicon-32x32.png"><link rel="icon" type="image/svg+xml" href="../../../../favicon.svg"></head><body class="rustdoc mod"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle">&#9776;</button><a class="sidebar-logo" href="../../../../rustls/index.html"><div class="logo-container"><img class="rust-logo" src="../../../../rust-logo.svg" alt="logo"></div></a><h2></h2></nav><nav class="sidebar"><a class="sidebar-logo" href="../../../../rustls/index.html"><div class="logo-container"><img class="rust-logo" src="../../../../rust-logo.svg" alt="logo"></div></a><h2 class="location"><a href="#">Module handshake</a></h2><div class="sidebar-elems"><section><ul class="block"><li><a href="#structs">Structs</a></li><li><a href="#enums">Enums</a></li><li><a href="#traits">Traits</a></li><li><a href="#types">Type Definitions</a></li></ul></section></div></nav><main><div class="width-limiter"><nav class="sub"><form class="search-form"><div class="search-container"><span></span><input class="search-input" name="search" autocomplete="off" spellcheck="false" placeholder="Click or press ‘S’ to search, ‘?’ for more options…" type="search"><div id="help-button" title="help" tabindex="-1"><a href="../../../../help.html">?</a></div><div id="settings-menu" tabindex="-1"><a href="../../../../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../../../../wheel.svg"></a></div></div></form></nav><section id="main-content" class="content"><div class="main-heading"><h1 class="fqn">Module <a href="../../../index.html">rustls</a>::<wbr><a href="../../index.html">internal</a>::<wbr><a href="../index.html">msgs</a>::<wbr><a class="mod" href="#">handshake</a><button id="copy-path" onclick="copy_path(this)" title="Copy item path to clipboard"><img src="../../../../clipboard.svg" width="19" height="18" alt="Copy item path"></button></h1><span class="out-of-band"><a class="srclink" href="../../../../src/rustls/msgs/handshake.rs.html#1-2304">source</a> · <a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">&#x2212;</span>]</a></span></div><h2 id="structs" class="small-section-header"><a href="#structs">Structs</a></h2><div class="item-table"><div class="item-row"><div class="item-left module-item"><a class="struct" href="struct.CertificateEntry.html" title="rustls::internal::msgs::handshake::CertificateEntry struct">CertificateEntry</a></div></div><div class="item-row"><div class="item-left module-item"><a class="struct" href="struct.CertificatePayloadTLS13.html" title="rustls::internal::msgs::handshake::CertificatePayloadTLS13 struct">CertificatePayloadTLS13</a></div></div><div class="item-row"><div class="item-left module-item"><a class="struct" href="struct.CertificateRequestPayload.html" title="rustls::internal::msgs::handshake::CertificateRequestPayload struct">CertificateRequestPayload</a></div></div><div class="item-row"><div class="item-left module-item"><a class="struct" href="struct.CertificateRequestPayloadTLS13.html" title="rustls::internal::msgs::handshake::CertificateRequestPayloadTLS13 struct">CertificateRequestPayloadTLS13</a></div></div><div class="item-row"><div class="item-left module-item"><a class="struct" href="struct.CertificateStatus.html" title="rustls::internal::msgs::handshake::CertificateStatus struct">CertificateStatus</a></div><div class="item-right docblock-short">Only supports OCSP</div></div><div class="item-row"><div class="item-left module-item"><a class="struct" href="struct.ClientECDHParams.html" title="rustls::internal::msgs::handshake::ClientECDHParams struct">ClientECDHParams</a></div></div><div class="item-row"><div class="item-left module-item"><a class="struct" href="struct.ClientHelloPayload.html" title="rustls::internal::msgs::handshake::ClientHelloPayload struct">ClientHelloPayload</a></div></div><div class="item-row"><div class="item-left module-item"><a class="struct" href="struct.DigitallySignedStruct.html" title="rustls::internal::msgs::handshake::DigitallySignedStruct struct">DigitallySignedStruct</a></div></div><div class="item-row"><div class="item-left module-item"><a class="struct" href="struct.ECDHEServerKeyExchange.html" title="rustls::internal::msgs::handshake::ECDHEServerKeyExchange struct">ECDHEServerKeyExchange</a></div></div><div class="item-row"><div class="item-left module-item"><a class="struct" href="struct.ECParameters.html" title="rustls::internal::msgs::handshake::ECParameters struct">ECParameters</a></div></div><div class="item-row"><div class="item-left module-item"><a class="struct" href="struct.HandshakeMessagePayload.html" title="rustls::internal::msgs::handshake::HandshakeMessagePayload struct">HandshakeMessagePayload</a></div></div><div class="item-row"><div class="item-left module-item"><a class="struct" href="struct.HelloRetryRequest.html" title="rustls::internal::msgs::handshake::HelloRetryRequest struct">HelloRetryRequest</a></div></div><div class="item-row"><div class="item-left module-item"><a class="struct" href="struct.KeyShareEntry.html" title="rustls::internal::msgs::handshake::KeyShareEntry struct">KeyShareEntry</a></div></div><div class="item-row"><div class="item-left module-item"><a class="struct" href="struct.NewSessionTicketPayload.html" title="rustls::internal::msgs::handshake::NewSessionTicketPayload struct">NewSessionTicketPayload</a></div></div><div class="item-row"><div class="item-left module-item"><a class="struct" href="struct.NewSessionTicketPayloadTLS13.html" title="rustls::internal::msgs::handshake::NewSessionTicketPayloadTLS13 struct">NewSessionTicketPayloadTLS13</a></div></div><div class="item-row"><div class="item-left module-item"><a class="struct" href="struct.OCSPCertificateStatusRequest.html" title="rustls::internal::msgs::handshake::OCSPCertificateStatusRequest struct">OCSPCertificateStatusRequest</a></div></div><div class="item-row"><div class="item-left module-item"><a class="struct" href="struct.PresharedKeyIdentity.html" title="rustls::internal::msgs::handshake::PresharedKeyIdentity struct">PresharedKeyIdentity</a></div></div><div class="item-row"><div class="item-left module-item"><a class="struct" href="struct.PresharedKeyOffer.html" title="rustls::internal::msgs::handshake::PresharedKeyOffer struct">PresharedKeyOffer</a></div></div><div class="item-row"><div class="item-left module-item"><a class="struct" href="struct.Random.html" title="rustls::internal::msgs::handshake::Random struct">Random</a></div></div><div class="item-row"><div class="item-left module-item"><a class="struct" href="struct.ServerECDHParams.html" title="rustls::internal::msgs::handshake::ServerECDHParams struct">ServerECDHParams</a></div></div><div class="item-row"><div class="item-left module-item"><a class="struct" href="struct.ServerHelloPayload.html" title="rustls::internal::msgs::handshake::ServerHelloPayload struct">ServerHelloPayload</a></div></div><div class="item-row"><div class="item-left module-item"><a class="struct" href="struct.ServerName.html" title="rustls::internal::msgs::handshake::ServerName struct">ServerName</a></div></div><div class="item-row"><div class="item-left module-item"><a class="struct" href="struct.SessionID.html" title="rustls::internal::msgs::handshake::SessionID struct">SessionID</a></div></div><div class="item-row"><div class="item-left module-item"><a class="struct" href="struct.UnknownExtension.html" title="rustls::internal::msgs::handshake::UnknownExtension struct">UnknownExtension</a></div></div></div><h2 id="enums" class="small-section-header"><a href="#enums">Enums</a></h2><div class="item-table"><div class="item-row"><div class="item-left module-item"><a class="enum" href="enum.CertReqExtension.html" title="rustls::internal::msgs::handshake::CertReqExtension enum">CertReqExtension</a></div></div><div class="item-row"><div class="item-left module-item"><a class="enum" href="enum.CertificateExtension.html" title="rustls::internal::msgs::handshake::CertificateExtension enum">CertificateExtension</a></div></div><div class="item-row"><div class="item-left module-item"><a class="enum" href="enum.CertificateStatusRequest.html" title="rustls::internal::msgs::handshake::CertificateStatusRequest enum">CertificateStatusRequest</a></div></div><div class="item-row"><div class="item-left module-item"><a class="enum" href="enum.ClientExtension.html" title="rustls::internal::msgs::handshake::ClientExtension enum">ClientExtension</a></div></div><div class="item-row"><div class="item-left module-item"><a class="enum" href="enum.HandshakePayload.html" title="rustls::internal::msgs::handshake::HandshakePayload enum">HandshakePayload</a></div></div><div class="item-row"><div class="item-left module-item"><a class="enum" href="enum.HelloRetryExtension.html" title="rustls::internal::msgs::handshake::HelloRetryExtension enum">HelloRetryExtension</a></div></div><div class="item-row"><div class="item-left module-item"><a class="enum" href="enum.KeyExchangeAlgorithm.html" title="rustls::internal::msgs::handshake::KeyExchangeAlgorithm enum">KeyExchangeAlgorithm</a></div></div><div class="item-row"><div class="item-left module-item"><a class="enum" href="enum.NewSessionTicketExtension.html" title="rustls::internal::msgs::handshake::NewSessionTicketExtension enum">NewSessionTicketExtension</a></div></div><div class="item-row"><div class="item-left module-item"><a class="enum" href="enum.ServerExtension.html" title="rustls::internal::msgs::handshake::ServerExtension enum">ServerExtension</a></div></div><div class="item-row"><div class="item-left module-item"><a class="enum" href="enum.ServerKeyExchangePayload.html" title="rustls::internal::msgs::handshake::ServerKeyExchangePayload enum">ServerKeyExchangePayload</a></div></div><div class="item-row"><div class="item-left module-item"><a class="enum" href="enum.ServerNamePayload.html" title="rustls::internal::msgs::handshake::ServerNamePayload enum">ServerNamePayload</a></div></div></div><h2 id="traits" class="small-section-header"><a href="#traits">Traits</a></h2><div class="item-table"><div class="item-row"><div class="item-left module-item"><a class="trait" href="trait.ConvertProtocolNameList.html" title="rustls::internal::msgs::handshake::ConvertProtocolNameList trait">ConvertProtocolNameList</a></div></div><div class="item-row"><div class="item-left module-item"><a class="trait" href="trait.ConvertServerNameList.html" title="rustls::internal::msgs::handshake::ConvertServerNameList trait">ConvertServerNameList</a></div></div><div class="item-row"><div class="item-left module-item"><a class="trait" href="trait.DecomposedSignatureScheme.html" title="rustls::internal::msgs::handshake::DecomposedSignatureScheme trait">DecomposedSignatureScheme</a></div></div><div class="item-row"><div class="item-left module-item"><a class="trait" href="trait.HasServerExtensions.html" title="rustls::internal::msgs::handshake::HasServerExtensions trait">HasServerExtensions</a></div></div><div class="item-row"><div class="item-left module-item"><a class="trait" href="trait.SupportedPointFormats.html" title="rustls::internal::msgs::handshake::SupportedPointFormats trait">SupportedPointFormats</a></div></div></div><h2 id="types" class="small-section-header"><a href="#types">Type Definitions</a></h2><div class="item-table"><div class="item-row"><div class="item-left module-item"><a class="type" href="type.CertReqExtensions.html" title="rustls::internal::msgs::handshake::CertReqExtensions type">CertReqExtensions</a></div></div><div class="item-row"><div class="item-left module-item"><a class="type" href="type.CertificateExtensions.html" title="rustls::internal::msgs::handshake::CertificateExtensions type">CertificateExtensions</a></div></div><div class="item-row"><div class="item-left module-item"><a class="type" href="type.CertificatePayload.html" title="rustls::internal::msgs::handshake::CertificatePayload type">CertificatePayload</a></div></div><div class="item-row"><div class="item-left module-item"><a class="type" href="type.ClientCertificateTypes.html" title="rustls::internal::msgs::handshake::ClientCertificateTypes type">ClientCertificateTypes</a></div></div><div class="item-row"><div class="item-left module-item"><a class="type" href="type.DistinguishedName.html" title="rustls::internal::msgs::handshake::DistinguishedName type">DistinguishedName</a></div></div><div class="item-row"><div class="item-left module-item"><a class="type" href="type.DistinguishedNames.html" title="rustls::internal::msgs::handshake::DistinguishedNames type">DistinguishedNames</a></div></div><div class="item-row"><div class="item-left module-item"><a class="type" href="type.ECPointFormatList.html" title="rustls::internal::msgs::handshake::ECPointFormatList type">ECPointFormatList</a></div></div><div class="item-row"><div class="item-left module-item"><a class="type" href="type.EncryptedExtensions.html" title="rustls::internal::msgs::handshake::EncryptedExtensions type">EncryptedExtensions</a></div></div><div class="item-row"><div class="item-left module-item"><a class="type" href="type.KeyShareEntries.html" title="rustls::internal::msgs::handshake::KeyShareEntries type">KeyShareEntries</a></div></div><div class="item-row"><div class="item-left module-item"><a class="type" href="type.NamedGroups.html" title="rustls::internal::msgs::handshake::NamedGroups type">NamedGroups</a></div></div><div class="item-row"><div class="item-left module-item"><a class="type" href="type.NewSessionTicketExtensions.html" title="rustls::internal::msgs::handshake::NewSessionTicketExtensions type">NewSessionTicketExtensions</a></div></div><div class="item-row"><div class="item-left module-item"><a class="type" href="type.PSKKeyExchangeModes.html" title="rustls::internal::msgs::handshake::PSKKeyExchangeModes type">PSKKeyExchangeModes</a></div></div><div class="item-row"><div class="item-left module-item"><a class="type" href="type.PresharedKeyBinder.html" title="rustls::internal::msgs::handshake::PresharedKeyBinder type">PresharedKeyBinder</a></div></div><div class="item-row"><div class="item-left module-item"><a class="type" href="type.PresharedKeyBinders.html" title="rustls::internal::msgs::handshake::PresharedKeyBinders type">PresharedKeyBinders</a></div></div><div class="item-row"><div class="item-left module-item"><a class="type" href="type.PresharedKeyIdentities.html" title="rustls::internal::msgs::handshake::PresharedKeyIdentities type">PresharedKeyIdentities</a></div></div><div class="item-row"><div class="item-left module-item"><a class="type" href="type.ProtocolNameList.html" title="rustls::internal::msgs::handshake::ProtocolNameList type">ProtocolNameList</a></div></div><div class="item-row"><div class="item-left module-item"><a class="type" href="type.ProtocolVersions.html" title="rustls::internal::msgs::handshake::ProtocolVersions type">ProtocolVersions</a></div></div><div class="item-row"><div class="item-left module-item"><a class="type" href="type.SCTList.html" title="rustls::internal::msgs::handshake::SCTList type">SCTList</a></div></div><div class="item-row"><div class="item-left module-item"><a class="type" href="type.ServerNameRequest.html" title="rustls::internal::msgs::handshake::ServerNameRequest type">ServerNameRequest</a></div></div><div class="item-row"><div class="item-left module-item"><a class="type" href="type.SupportedSignatureSchemes.html" title="rustls::internal::msgs::handshake::SupportedSignatureSchemes type">SupportedSignatureSchemes</a></div></div><div class="item-row"><div class="item-left module-item"><a class="type" href="type.VecU16OfPayloadU8.html" title="rustls::internal::msgs::handshake::VecU16OfPayloadU8 type">VecU16OfPayloadU8</a></div></div><div class="item-row"><div class="item-left module-item"><a class="type" href="type.VecU16OfPayloadU16.html" title="rustls::internal::msgs::handshake::VecU16OfPayloadU16 type">VecU16OfPayloadU16</a></div></div></div></section></div></main><div id="rustdoc-vars" data-root-path="../../../../" data-current-crate="rustls" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.66.0-nightly (5c8bff74b 2022-10-21)" ></div></body></html>