class OpenSSL::SSL::Session
Public Class Methods
Public Instance Methods
(self other) → bool
Source
# File vendor/bundle/ruby/4.0.0/gems/rbs-4.0.3/stdlib/openssl/0/openssl.rbs, line 9375
def ==: (self other) -> bool
Returns true if the two Session is the same, false if not.
# File vendor/bundle/ruby/4.0.0/gems/rbs-4.0.3/stdlib/openssl/0/openssl.rbs, line 9383
def id: () -> String
Returns the Session ID.
(self) → void
Source
# File vendor/bundle/ruby/4.0.0/gems/rbs-4.0.3/stdlib/openssl/0/openssl.rbs, line 9460
def initialize_copy: (self) -> void
# File vendor/bundle/ruby/4.0.0/gems/rbs-4.0.3/stdlib/openssl/0/openssl.rbs, line 9391
def time: () -> Time
Returns the time at which the session was established.
# File vendor/bundle/ruby/4.0.0/gems/rbs-4.0.3/stdlib/openssl/0/openssl.rbs, line 9400
def time=: (Time | Integer start_time) -> Time
Sets start time of the session. Time resolution is in seconds.
# File vendor/bundle/ruby/4.0.0/gems/rbs-4.0.3/stdlib/openssl/0/openssl.rbs, line 9409
def timeout: () -> Integer
Returns the timeout value set for the session, in seconds from the established time.
# File vendor/bundle/ruby/4.0.0/gems/rbs-4.0.3/stdlib/openssl/0/openssl.rbs, line 9417
def timeout=: (Integer timeout) -> Integer
Sets how long until the session expires in seconds.
# File vendor/bundle/ruby/4.0.0/gems/rbs-4.0.3/stdlib/openssl/0/openssl.rbs, line 9425
def to_der: () -> String
# File vendor/bundle/ruby/4.0.0/gems/rbs-4.0.3/stdlib/openssl/0/openssl.rbs, line 9433
def to_pem: () -> String