17.2.2 SSL Objects

##
17.2.2 SSL Objects

SSL objects have the following methods.

`write`( | s)

  Writes the string s to the on the object's SSL connection. The return value is the number of bytes written.

`read`( | [n])

  If n is provided, read n bytes from the SSL connection, otherwise read until EOF. The return value is a string of the bytes read.

`server`( | )

  Returns a string describing the server's certificate. Useful for debugging purposes; do not parse the content of this string because its format can't be parsed unambiguously.

`issuer`( | )

  Returns a string describing the issuer of the server's certificate. Useful for debugging purposes; do not parse the content of this string because its format can't be parsed unambiguously.