123456789_123456789_123456789_123456789_123456789_

Class: OpenSSL::SSL::Session

Relationships & Source Files
Namespace Children
Exceptions:
Inherits: Object
Defined in: ext/openssl/ossl_ssl_session.c

Class Method Summary

Instance Attribute Summary

Instance Method Summary

Constructor Details

.new(SSLSocket | string) ⇒ Session

Parameters

SSLSocket is an SSLSocket string must be a DER or PEM encoded Session.

Instance Attribute Details

#timeTime (rw)

Gets start time of the session.

#time=(Time) ⇒ Time (rw) #time=(integer) ⇒ Time

Sets start time of the session. Time resolution is in seconds.

#timeoutInteger (rw)

Gets how long until the session expires in seconds.

#timeout=(integer) ⇒ Integer (rw)

Sets how long until the session expires in seconds.

Instance Method Details

#==(session2) ⇒ Boolean

#idString

Returns the Session ID.

#to_derString

Returns an ::OpenSSL::ASN1 encoded String that contains the Session object.

#to_pemString

Returns a PEM encoded String that contains the Session object.

#to_textString

Shows everything in the Session object.