GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — doc: clarify tls.tlsSocket.getCipher().version · nodejs/node@29bbabd

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • doc/api
    • tls.md
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎doc/api/tls.md‎

Copy file name to clipboardExpand all lines: doc/api/tls.md
+6-5Lines changed: 6 additions & 5 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -1098,17 +1098,17 @@ changes:
10981098
* `name` {string} OpenSSL name for the cipher suite.
10991099
* `standardName` {string} IETF name for the cipher suite.
11001100
* `version` {string} The minimum TLS protocol version supported by this cipher
1101-
suite.
1101+
suite. For the actual negotiated protocol, see [`tls.TLSSocket.getProtocol()`][].
11021102

11031103
Returns an object containing information on the negotiated cipher suite.
11041104

1105-
For example:
1105+
For example, a TLSv1.2 protocol with AES256-SHA cipher:
11061106

11071107
```json
11081108
{
1109-
"name": "AES128-SHA256",
1110-
"standardName": "TLS_RSA_WITH_AES_128_CBC_SHA256",
1111-
"version": "TLSv1.2"
1109+
"name": "AES256-SHA",
1110+
"standardName": "TLS_RSA_WITH_AES_256_CBC_SHA",
1111+
"version": "SSLv3"
11121112
}
11131113
```
11141114

@@ -2258,6 +2258,7 @@ added: v11.4.0
22582258
[`tls.Server`]: #class-tlsserver
22592259
[`tls.TLSSocket.enableTrace()`]: #tlssocketenabletrace
22602260
[`tls.TLSSocket.getPeerCertificate()`]: #tlssocketgetpeercertificatedetailed
2261+
[`tls.TLSSocket.getProtocol()`]: #tlssocketgetprotocol
22612262
[`tls.TLSSocket.getSession()`]: #tlssocketgetsession
22622263
[`tls.TLSSocket.getTLSTicket()`]: #tlssocketgettlsticket
22632264
[`tls.TLSSocket`]: #class-tlstlssocket

0 commit comments

Comments
0 (0)
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.