René's URL Explorer Experiment


Title: HTTPS 温故知新(二) —— TLS 记录层协议

Open Graph Title: HTTPS 温故知新(二) —— TLS 记录层协议

X Title: HTTPS 温故知新(二) —— TLS 记录层协议

Open Graph Description: TLS 记录协议是一个层次化的协议。在每一层中,消息都可能包含长度、描述、内容等字段。记录协议主要功能包括装载了被发送的消息,将数据分片为可管理的块,有选择地压缩数据,应用 MAC,加密,传输最终数据。接收到的数据被解密,验证,解压缩,重组,然后传递给高层应用。 特别需要注意的是一条记录消息的类型 type 和长度 length 是不会被加密保护的,它们是明文的。如果这个信息本身是敏感的,应用设计者可能会希望采取一些措施(填充 padding,覆盖流量cover traffic) 来以减小信息泄露。 这篇文章我们重点来讨论一下 TLS 1.2 和 TLS 1.3 在记录层上的不同。先从共同点开始。 一、TLS 记录层的连接状态 一个 TLS 连接的状态就是 TLS 记录协议的操作环境。它指定了一个压缩算法,

X Description: TLS 记录协议是一个层次化的协议。在每一层中,消息都可能包含长度、描述、内容等字段。记录协议主要功能包括装载了被发送的消息,将数据分片为可管理的块,有选择地压缩数据,应用 MAC,加密,传输最终数据。接收到的数据被解密,验证,解压缩,重组,然后传递给高层应用。 特别需要注意的是一条记录消息的类型 type 和长度 length 是不会被加密保护的,它们是明文的。如果这个信息本身是敏感的,应用设计者可能会希望采取一些措施(填充 padding,覆盖流量cover traffic) 来以减小信息泄露。 这篇文章我们重点来讨论一下 TLS 1.2 和 TLS 1.3 在记录层上的不同。先从共同点开始。 一、TLS 记录层的连接状态 一个 TLS 连接的状态就是 TLS 记录协议的操作环境。它指定了一个压缩算法,

Opengraph URL: https://halfrost.com/https_record_layer/

X: @halffrost

Generator: Ghost 5.19

direct link

Domain: halfrost.com


Hey, it has json ld scripts:
{
    "@context": "https://schema.org",
    "@type": "Article",
    "publisher": {
        "@type": "Organization",
        "name": "Halfrost's Field | 冰霜之地",
        "url": "https://halfrost.com/",
        "logo": {
            "@type": "ImageObject",
            "url": "https://img.halfrost.com/2020/07/logo_.png"
        }
    },
    "author": {
        "@type": "Person",
        "name": "一缕殇流化隐半边冰霜",
        "image": {
            "@type": "ImageObject",
            "url": "https://img.halfrost.com/Blog/ArticleTitleImage/me.jpg",
            "width": 640,
            "height": 640
        },
        "url": "https://halfrost.com/author/halfrost/",
        "sameAs": [
            "https://halfrost.com",
            "https://www.facebook.com/halffrost",
            "https://twitter.com/halffrost"
        ]
    },
    "headline": "HTTPS 温故知新(二) —— TLS 记录层协议",
    "url": "https://halfrost.com/https_record_layer/",
    "datePublished": "2019-01-20T13:57:00.000Z",
    "dateModified": "2026-07-07T04:31:00.000Z",
    "image": {
        "@type": "ImageObject",
        "url": "https://img.halfrost.com/Blog/ArticleTitleImage/119_0.png",
        "width": 1920,
        "height": 1080
    },
    "keywords": "Protocol, HTTPS",
    "description": "TLS\n记录协议是一个层次化的协议。在每一层中,消息都可能包含长度、描述、内容等字段。记录协议主要功能包括装载了被发送的消息,将数据分片为可管理的块,有选择地压缩数据,应用\nMAC,加密,传输最终数据。接收到的数据被解密,验证,解压缩,重组,然后传递给高层应用。\n\n特别需要注意的是一条记录消息的类型 type 和长度 length\n是不会被加密保护的,它们是明文的。如果这个信息本身是敏感的,应用设计者可能会希望采取一些措施(填充 padding,覆盖流量cover traffic)\n来以减小信息泄露。\n\n这篇文章我们重点来讨论一下 TLS 1.2 和 TLS 1.3 在记录层上的不同。先从共同点开始。\n\n一、TLS 记录层的连接状态\n一个 TLS 连接的状态就是 TLS 记录协议的操作环境。它指定了一个压缩算法,一个加密算法,一个 MAC 算法。此外,这些算法的参数必须是已知的:用于\nconnection 连接的读、写两个方向的 MAC\n密钥和块加密密钥。逻辑上总是有4个状态比较突出:可读和可写状态,挂起的读和写状态。所有的记录协议都在可读写状态下处理。挂起状态的安全参数可以通过 TL",
    "mainEntityOfPage": {
        "@type": "WebPage",
        "@id": "https://halfrost.com/"
    }
}
    

theme-color#FFFFFF
Noneie=edge
HandheldFriendlyTrue
referrerno-referrer-when-downgrade
og:site_nameHalfrost's Field | 冰霜之地
og:typearticle
og:imagehttps://img.halfrost.com/Blog/ArticleTitleImage/119_0.png
article:published_time2019-01-20T13:57:00.000Z
article:modified_time2026-07-07T04:31:00.000Z
article:tagHTTPS
article:publisherhttps://www.facebook.com/halffrost
article:authorhttps://www.facebook.com/halffrost
twitter:cardsummary_large_image
twitter:urlhttps://halfrost.com/https_record_layer/
twitter:imagehttps://img.halfrost.com/Blog/ArticleTitleImage/119_0.png
twitter:label1Written by
twitter:data1一缕殇流化隐半边冰霜
twitter:label2Filed under
twitter:data2Protocol, HTTPS
twitter:creator@halffrost
og:image:width1920
og:image:height1080

Links:

https://halfrost.com
https://halfrost.com
HOMEhttps://halfrost.com/
ARCHIVEShttps://halfrost.com/archives/
TAGhttps://halfrost.com/tag/
LINKShttps://halfrost.com/links/
ABOUThttps://halfrost.com/about/
BOOKShttps://books.halfrost.com/
RESUMEhttps://halfrost.me/
CONTACThttps://halfrost.com/contact/
https://halfrost.com/https_record_layer/
HOMEhttps://halfrost.com/
ARCHIVEShttps://halfrost.com/archives/
TAGhttps://halfrost.com/tag/
LINKShttps://halfrost.com/links/
ABOUThttps://halfrost.com/about/
BOOKShttps://books.halfrost.com/
RESUMEhttps://halfrost.me/
CONTACThttps://halfrost.com/contact/
Protocolhttps://halfrost.com/tag/protocol/
iOShttps://halfrost.com/tag/ios/
HTTPShttps://halfrost.com/tag/https/
AIhttps://halfrost.com/tag/ai/
Machine Learninghttps://halfrost.com/tag/machine-learning/
Golanghttps://halfrost.com/tag/golang/
HTTPhttps://halfrost.com/tag/http/
ReactiveCocoahttps://halfrost.com/tag/reactivecocoa/
RAChttps://halfrost.com/tag/rac/
HTTP/2https://halfrost.com/tag/http-2/
Protocolhttps://halfrost.com/tag/protocol/
RFC3749https://tools.ietf.org/html/rfc3749
[CBCATT]https://tools.ietf.org/html/rfc5246#ref-CBCATT
[CBCATT]https://tools.ietf.org/html/rfc5246#ref-CBCATT
[CBCTIME]https://tools.ietf.org/html/rfc5246#ref-CBCTIME
[AEAD]https://tools.ietf.org/html/rfc5246#ref-AEAD
[CCM]https://tools.ietf.org/html/rfc5246#ref-CCM
[GCM]https://tools.ietf.org/html/rfc5246#ref-GCM
[AEAD]https://tools.ietf.org/html/rfc5246#ref-AEAD
[AEAD]https://tools.ietf.org/html/rfc5246#ref-AEAD
[RFC5116]https://tools.ietf.org/html/rfc5116
[AEAD]https://tools.ietf.org/html/rfc5246#ref-AEAD
TLS 1.3 The TLS Record Protocolhttps://github.com/halfrost/Halfrost-Field/blob/master/contents/Protocol/TLS_1.3_Record_Protocol.md#%E4%B8%80-record-layer
TLS 1.2 The TLS Record Protocolhttps://tools.ietf.org/html/rfc5246#page-15
Halfrost-Fieldhttps://github.com/halfrost/Halfrost-Field
halfrost · GitHubhttps://github.com/halfrost
https://halfrost.com/HTTPS_record_layer/https://halfrost.com/https_record_layer/
Protocolhttps://halfrost.com/tag/protocol/
HTTPShttps://halfrost.com/tag/https/
https://halfrost.com/author/halfrost/
一缕殇流化隐半边冰霜https://halfrost.com/author/halfrost/
Facebookhttps://www.facebook.com/sharer/sharer.php?u=https://halfrost.com/https_record_layer/
Twitterhttps://twitter.com/share?text=HTTPS%20%E6%B8%A9%E6%95%85%E7%9F%A5%E6%96%B0%EF%BC%88%E4%BA%8C%EF%BC%89%20%E2%80%94%E2%80%94%20TLS%20%E8%AE%B0%E5%BD%95%E5%B1%82%E5%8D%8F%E8%AE%AE&url=https://halfrost.com/https_record_layer/
Linkedinhttp://www.linkedin.com/shareArticle?mini=true&url=https://halfrost.com/https_record_layer/&title=HTTPS%20%E6%B8%A9%E6%95%85%E7%9F%A5%E6%96%B0%EF%BC%88%E4%BA%8C%EF%BC%89%20%E2%80%94%E2%80%94%20TLS%20%E8%AE%B0%E5%BD%95%E5%B1%82%E5%8D%8F%E8%AE%AE
Pinteresthttp://pinterest.com/pin/create/button/?url=https://halfrost.com/https_record_layer/&description=HTTPS%20%E6%B8%A9%E6%95%85%E7%9F%A5%E6%96%B0%EF%BC%88%E4%BA%8C%EF%BC%89%20%E2%80%94%E2%80%94%20TLS%20%E8%AE%B0%E5%BD%95%E5%B1%82%E5%8D%8F%E8%AE%AE
Permalink Link Copied to clipboardhttps://halfrost.com/https_record_layer/
https://halfrost.com/https-begin/
Protocolhttps://halfrost.com/tag/protocol/
HTTPS 温故知新(一) —— 开篇https://halfrost.com/https-begin/
https://halfrost.com/https_tls1-2_handshake/
Protocolhttps://halfrost.com/tag/protocol/
HTTPS 温故知新(三) —— 直观感受 TLS 握手流程(上)https://halfrost.com/https_tls1-2_handshake/
Machine Learninghttps://halfrost.com/tag/machine%20learning/
golanghttps://halfrost.com/tag/golang/
JavaScripthttps://halfrost.com/tag/javascript/
iOShttps://halfrost.com/tag/ios/
Protocolhttps://halfrost.com/tag/protocol/
星霜荏苒https://halfrost.com/tag/星霜荏苒/
Article archiveshttps://halfrost.com/archives/
Linkshttps://halfrost.com/links/
About mehttps://halfrost.com/about/
https://halfrost.com/https_record_layer/
Starhttps://github.com/halfrost/Halfrost-Field
鄂ICP备16014744号-1https://beian.miit.gov.cn
https://twitter.com/halffrost
https://facebook.com/halffrost/
https://instagram.com/halfrost_/
https://dribbble.com/halfrost
https://behance.net/halfrost
https://medium.com/@halffrost
https://pinterest.com/halfrost_/
https://halfrost.com/https_record_layer/
https://linkedin.com/in/half-frost/
https://github.com/halfrost
https://tiktok.com/@halffrost

Viewport: width=device-width, initial-scale=1.0 shrink-to-fit=no


URLs of crawlers that visited me.