D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
opt
/
alt
/
ruby34
/
share
/
ri
/
system
/
OpenSSL
/
SSL
/
SSLContext
/
Filename :
cdesc-SSLContext.ri
back
Copy
U:RDoc::NormalClass[iI"SSLContext:ETI"OpenSSL::SSL::SSLContext;TI"Object;To:RDoc::Markup::Document:@parts[o;;[ : @fileI"#ext/openssl/lib/openssl/ssl.rb;T:0@omit_headings_from_table_of_contents_below0o;;[o:RDoc::Markup::Paragraph;[I"JAn SSLContext is used to set various options regarding certificates, ;TI"Halgorithms, verification, session caching, etc. The SSLContext is ;TI"!used to create an SSLSocket.;To:RDoc::Markup::BlankLine o;;[I"DAll attributes must be set before creating an SSLSocket as the ;TI")SSLContext will be frozen afterward.;T; I"ext/openssl/ossl_ssl.c;T; 0; 0; 0[[ I"alpn_protocols;TI"RW;T:publicFI"ext/openssl/ossl_ssl.c;T[ I"alpn_select_cb;T@; F@ [ I"ca_file;T@; F@ [ I"ca_path;T@; F@ [ I" cert;T@; F@ [ I"cert_store;T@; F@ [ I"client_ca;T@; F@ [ I"client_cert_cb;T@; F@ [ I"extra_chain_cert;T@; F@ [ I"key;T@; F@ [ I"keylog_cb;T@; F@ [ I"npn_protocols;T@; F@ [ I"npn_select_cb;T@; F@ [ I"renegotiation_cb;T@; F@ [ I"servername_cb;T@; FI"#ext/openssl/lib/openssl/ssl.rb;T[ I"session_get_cb;T@; F@ [ I"session_id_context;T@; F@ [ I"session_new_cb;T@; F@ [ I"session_remove_cb;T@; F@ [ I"ssl_timeout;T@; F@ [ I"timeout;T@; F@ [ I"tmp_dh_callback;T@; F@=[ I"verify_callback;T@; F@ [ I"verify_depth;T@; F@ [ I"verify_hostname;T@; F@ [ I"verify_mode;T@; F@ [U:RDoc::Constant[i I"DH_ffdhe2048;TI"+OpenSSL::SSL::SSLContext::DH_ffdhe2048;T; 0o;;[ ; @; 0@@cRDoc::NormalClass0U;[i I"METHODS_MAP;TI"*OpenSSL::SSL::SSLContext::METHODS_MAP;T:private0o;;[ ; @; 0@@@[0U;[i I"METHODS;TI"&OpenSSL::SSL::SSLContext::METHODS;T; 0o;;[o;;[I"KThe list of available SSL/TLS methods. This constant is only provided ;TI"!for backwards compatibility.;T; @; 0@@@[0U;[i I"SESSION_CACHE_OFF;TI"0OpenSSL::SSL::SSLContext::SESSION_CACHE_OFF;T; 0o;;[o;;[I",No session caching for client or server;T; @; 0@@@[0U;[i I"SESSION_CACHE_CLIENT;TI"3OpenSSL::SSL::SSLContext::SESSION_CACHE_CLIENT;T; 0o;;[o;;[I"3Client sessions are added to the session cache;T; @; 0@@@[0U;[i I"SESSION_CACHE_SERVER;TI"3OpenSSL::SSL::SSLContext::SESSION_CACHE_SERVER;T; 0o;;[o;;[I"3Server sessions are added to the session cache;T; @; 0@@@[0U;[i I"SESSION_CACHE_BOTH;TI"1OpenSSL::SSL::SSLContext::SESSION_CACHE_BOTH;T; 0o;;[o;;[I"CBoth client and server sessions are added to the session cache;T; @; 0@@@[0U;[i I" SESSION_CACHE_NO_AUTO_CLEAR;TI":OpenSSL::SSL::SSLContext::SESSION_CACHE_NO_AUTO_CLEAR;T; 0o;;[o;;[ I"JNormally the session cache is checked for expired sessions every 255 ;TI"Mconnections. Since this may lead to a delay that cannot be controlled, ;TI"Gthe automatic flushing may be disabled and #flush_sessions can be ;TI"called explicitly.;T; @; 0@@@[0U;[i I"%SESSION_CACHE_NO_INTERNAL_LOOKUP;TI"?OpenSSL::SSL::SSLContext::SESSION_CACHE_NO_INTERNAL_LOOKUP;T; 0o;;[o;;[I"IAlways perform external lookups of sessions even if they are in the ;TI"internal cache.;T@o;;[I"'This flag has no effect on clients;T; @; 0@@@[0U;[i I"$SESSION_CACHE_NO_INTERNAL_STORE;TI">OpenSSL::SSL::SSLContext::SESSION_CACHE_NO_INTERNAL_STORE;T; 0o;;[o;;[I">Never automatically store sessions in the internal store.;T; @; 0@@@[0U;[i I"SESSION_CACHE_NO_INTERNAL;TI"8OpenSSL::SSL::SSLContext::SESSION_CACHE_NO_INTERNAL;T; 0o;;[o;;[I"7Enables both SESSION_CACHE_NO_INTERNAL_LOOKUP and ;TI"%SESSION_CACHE_NO_INTERNAL_STORE.;T; @; 0@@@[0[ [[I" class;T[[; [[I"new;T@=[:protected[ [;[ [I" instance;T[[; [[I"add_certificate;T@ [I"ciphers;T@ [I" ciphers=;T@ [I"ciphersuites=;T@ [I"ecdh_curves=;T@ [I"enable_fallback_scsv;T@ [I"flush_sessions;T@ [I"freeze;T@ [I"max_version=;T@=[I"min_version=;T@=[I"options;T@ [I" options=;T@ [I"security_level;T@ [I"security_level=;T@ [I"session_add;T@ [I"session_cache_mode;T@ [I"session_cache_mode=;T@ [I"session_cache_size;T@ [I"session_cache_size=;T@ [I"session_cache_stats;T@ [I"session_remove;T@ [I"set_params;T@=[I" setup;T@ [I"ssl_version=;T@=[I"tmp_dh=;T@ [;[ [;[[I"set_minmax_proto_version;T@ [ [U:RDoc::Context::Section[i 0o;;[ ; 0; 0[@@I"lib/net/http.rb;TI"OpenSSL::SSL;TcRDoc::NormalModule