Commit 6d92ebac authored by Shigeki Ohtsu's avatar Shigeki Ohtsu
Browse files

tls: add TLSSocket.getEphemeralKeyInfo()

Returns an object representing a type, name and size of an ephemeral
key exchange in a client connection. Currently only DHE and ECHE are
supported.

This api only works on on a client connection. When it is called on a
server connection, null is returned. When its key exchange is not
ephemeral, an empty object is returned.

PR-URL: https://github.com/nodejs/node/pull/1831


Reviewed-By: default avatarindutny - Fedor Indutny <fedor.indutny@gmail.com>
Reviewed-By: default avatarbnoordhuis - Ben Noordhuis <info@bnoordhuis.nl>
parent 503f2795
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment