TLSSocket.getPeerFinished method | Node.js tls module | Bun
BuildDocsReferenceGuidesBlogDiscord/
node:tls/
TLSSocket/
getPeerFinishedMgetPeerFinished
Search the reference...
/
BuildDocsReferenceGuidesBlogDiscord/
node:tls/
TLSSocket/
getPeerFinishedMgetPeerFinished
method
tls.TLSSocket.getPeerFinishedgetPeerFinished(): undefined | NonSharedBuffer;
As the Finished messages are message digests of the complete handshake (with a total of 192 bits for TLS 1.0 and more for SSL 3.0), they can be used for external authentication procedures when the authentication provided by SSL/TLS is not desired or is not enough.
Corresponds to the SSL_get_peer_finished routine in OpenSSL and may be used to implement the tls-unique channel binding from RFC 5929.
@returns
The latest Finished message that is expected or has actually been received from the socket as part of a SSL/TLS handshake, or undefined if there is no Finished message so far.
Resources
ReferenceDocsGuidesDiscordMerch StoreGitHubBlog Toolkit
RuntimePackage managerTest runnerBundlerPackage runnerProject
Bun 1.0Bun 1.1Bun 1.2Bun 1.3RoadmapContributingLicenseBaked with ❤️ in San Francisco
We're hiring →