BuildDocsReferenceGuidesBlogDiscordnode:tlsConnectionOptionspskCallbackBuildDocsReferenceGuidesBlogDiscordnode:tlsConnectionOptionspskCallbacktls.ConnectionOptions.pskCallbackpskCallbackPSKCallbackNegotationReferenceDocsGuidesDiscordMerch StoreGitHubBlogRuntimePackage managerTest runnerBundlerPackage runnerBun 1.0Bun 1.1Bun 1.2Bun 1.3RoadmapContributingLicenseWe're hiring →
property pskCallback | Node.js tls module | Bun,AI智能索引,全网链接索引,智能导航,网页索引
- When negotiating TLS-PSK (pre-shared keys), this function is called
with optional identity `hint` provided by the server or `null`
in case of TLS 1.3 where `hint` was removed.
It will be necessary to provide a custom `tls.checkServerIdentity()`
for the connection as the default one will try to check hostname/IP
of the server against the certificate but that