Skip to content
This repository has been archived by the owner. It is now read-only.
Browse files

doc: add cleartextStream.getCipher() in tls

  • Loading branch information...
Shigeki Ohtsu authored and bnoordhuis committed Mar 23, 2012
1 parent 249c3c1 commit 2cf5f040a5818f7c1b37904f1cf4e73f1f3aa9f4
Showing with 11 additions and 0 deletions.
  1. +11 −0 doc/api/tls.markdown
@@ -401,6 +401,17 @@ Example:
If the peer does not provide a certificate, it returns `null` or an empty

### cleartextStream.getCipher()
Returns an object representing the cipher name and the SSL/TLS
protocol version of the current connection.

{ name: 'AES256-SHA', version: 'TLSv1/SSLv3' }

See SSL_CIPHER_get_name() and SSL_CIPHER_get_version() in for more

### cleartextStream.address()

Returns the bound address and port of the underlying socket as reported by the

0 comments on commit 2cf5f04

Please sign in to comment.
You can’t perform that action at this time.