温馨提示:本站仅提供公开网络链接索引服务,不存储、不篡改任何第三方内容,所有内容版权归原作者所有
AI智能索引来源:http://www.bun.com/reference/bun/TLSSocket/getEphemeralKeyInfo
点击访问原文链接

TLSSocket.getEphemeralKeyInfo method | Bun module | Bun

TLSSocket.getEphemeralKeyInfo method | Bun module | BunBuildDocsReferenceGuidesBlogDiscord/Bun/TLSSocket/getEphemeralKeyInfoMgetEphemeralKeyInfo

Search the reference...

/

BuildDocsReferenceGuidesBlogDiscord/Bun/TLSSocket/getEphemeralKeyInfoMgetEphemeralKeyInfo

method

TLSSocket.getEphemeralKeyInfogetEphemeralKeyInfo(): null | object | EphemeralKeyInfo;

Returns an object representing the type, name, and size of parameter of an ephemeral key exchange in perfect forward secrecy on a client connection. It returns an empty object when the key exchange is not ephemeral. As this is only supported on a client socket; null is returned if called on a server socket. The supported types are 'DH' and 'ECDH'. Thename property is available only when type is 'ECDH'.

For example: { type: 'ECDH', name: 'prime256v1', size: 256 }.

Referenced typesinterface EphemeralKeyInfoname?: string

The name property is available only when type is 'ECDH'.

size: number

The size of parameter of an ephemeral key exchange.

type: string

The supported types are 'DH' and 'ECDH'.

Resources

ReferenceDocsGuidesDiscordMerch StoreGitHubBlog 

Toolkit

RuntimePackage managerTest runnerBundlerPackage runner

Project

Bun 1.0Bun 1.1Bun 1.2Bun 1.3RoadmapContributingLicense

Baked with ❤️ in San Francisco

We're hiring →

TLSSocket.getEphemeralKeyInfo method | Bun module | Bun,AI智能索引,全网链接索引,智能导航,网页索引

    API documentation for method bun.TLSSocket.getEphemeralKeyInfo | Bun