SSL_SESSION_GET_TIME - Online Linux Manual Page
Section : 3
Updated : 2021-03-26
Source : 1.1.1k
Note : OpenSSL
NAMESSL_SESSION_get_time, SSL_SESSION_set_time, SSL_SESSION_get_timeout, SSL_SESSION_set_timeout, SSL_get_time, SSL_set_time, SSL_get_timeout, SSL_set_timeout − retrieve and manipulate session time and timeout settings
SYNOPSIS #include <openssl/ssl.h>
long SSL_SESSION_get_time(const SSL_SESSION *s);
long SSL_SESSION_set_time(SSL_SESSION *s, long tm);
long SSL_SESSION_get_timeout(const SSL_SESSION *s);
long SSL_SESSION_set_timeout(SSL_SESSION *s, long tm);
long SSL_get_time(const SSL_SESSION *s);
long SSL_set_time(SSL_SESSION *s, long tm);
long SSL_get_timeout(const SSL_SESSION *s);
long SSL_set_timeout(SSL_SESSION *s, long tm);
DESCRIPTIONSSL_SESSION_get_time() returns the time at which the session s was established. The time is given in seconds since the Epoch and therefore compatible to the time delivered by the time() call. SSL_SESSION_set_time() replaces the creation time of the session s with the chosen value tm. SSL_SESSION_get_timeout() returns the timeout value set for session s in seconds. SSL_SESSION_set_timeout() sets the timeout value for session s in seconds to tm. The SSL_get_time(), SSL_set_time(), SSL_get_timeout(), and SSL_set_timeout() functions are synonyms for the SSL_SESSION_*() counterparts.
NOTESSessions are expired by examining the creation time and the timeout value. Both are set at creation time of the session to the actual time and the default timeout value at creation, respectively, as set by SSL_CTX_set_timeout (3). Using these functions it is possible to extend or shorten the lifetime of the session.
RETURN VALUESSSL_SESSION_get_time() and SSL_SESSION_get_timeout() return the currently valid values. SSL_SESSION_set_time() and SSL_SESSION_set_timeout() return 1 on success. If any of the function is passed the NULL pointer for the session s, 0 is returned.
SEE ALSOssl (7), SSL_CTX_set_timeout (3), SSL_get_default_timeout (3)
COPYRIGHTCopyright 2001−2016 The OpenSSL Project Authors. All Rights Reserved. Licensed under the OpenSSL license (the ‟License”). You may not use this file except in compliance with the License. You can obtain a copy in the file LICENSE in the source distribution or at <https://www.openssl.org/source/license.html>. 0
Johanes Gumabo
Data Size : 9,165 byte
man-SSL_get_time.3sslBuild : 2025-03-22, 13:26 :
Visitor Screen : x
Visitor Counter ( page / site ) : 6 / 2,083,849
Visitor ID : :
Visitor IP : 216.73.216.62 :
Visitor Provider : AMAZON-02 :
Provider Position ( lat x lon ) : 37.751000 x -97.822000 : x
Provider Accuracy Radius ( km ) : 1000 :
Provider City : :
Provider Province : , : ,
Provider Country : United States :
Provider Continent : North America :
Visitor Recorder : Version :
Visitor Recorder : Library :
Online Linux Manual Page : Version : Online Linux Manual Page - Fedora.40 - march=x86-64 - mtune=generic - 25.03.22
Online Linux Manual Page : Library : lib_c - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Online Linux Manual Page : Library : lib_m - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Data Base : Version : Online Linux Manual Page Database - 24.04.13 - march=x86-64 - mtune=generic - fedora-38
Data Base : Library : lib_c - 23.02.07 - march=x86-64 - mtune=generic - fedora.36
If error, please print screen and send to johanes_gumabo@yahoo.co.id
Under development. Support me via PayPal.
ERROR : Need New Coding : (parse_manual_page_|254|S___SL_get_time.3ssl|36/37|el══─{─══.|.el══─{─══. ds -- \|\(em\|
) (htmlprn|160|S___SL_get_time.3ssl|36/37|.el══─{─══. ds -- — |.el══─{─══. ds -- \|\(em\|
) (parse_manual_page_|254|S___SL_get_time.3ssl|43|br══─}─══|'br══─}─══
) (htmlprn|160|S___SL_get_time.3ssl|43|'br══─}─══ |'br══─}─══
)