class OpenSSL::SSL::Session
Public Class Methods
Public Instance Methods
(self other) → bool
Source
# File vendor/bundle/ruby/4.0.0/gems/rbs-4.1.3/stdlib/openssl/0/openssl.rbs, line 9406
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.1.3/stdlib/openssl/0/openssl.rbs, line 9414
def id: () -> String
Returns the Session ID.
(self) → void
Source
# File vendor/bundle/ruby/4.0.0/gems/rbs-4.1.3/stdlib/openssl/0/openssl.rbs, line 9491
def initialize_copy: (self) -> void
# File vendor/bundle/ruby/4.0.0/gems/rbs-4.1.3/stdlib/openssl/0/openssl.rbs, line 9422
def time: () -> Time
Returns the time at which the session was established.
# File vendor/bundle/ruby/4.0.0/gems/rbs-4.1.3/stdlib/openssl/0/openssl.rbs, line 9431
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.1.3/stdlib/openssl/0/openssl.rbs, line 9440
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.1.3/stdlib/openssl/0/openssl.rbs, line 9448
def timeout=: (Integer timeout) -> Integer
Sets how long until the session expires in seconds.
# File vendor/bundle/ruby/4.0.0/gems/rbs-4.1.3/stdlib/openssl/0/openssl.rbs, line 9456
def to_der: () -> String
# File vendor/bundle/ruby/4.0.0/gems/rbs-4.1.3/stdlib/openssl/0/openssl.rbs, line 9464
def to_pem: () -> String