⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.93
Server IP:
65.108.141.171
Server:
Linux server.heloix.com 5.4.0-214-generic #234-Ubuntu SMP Fri Mar 14 23:50:27 UTC 2025 x86_64
Server Software:
Apache
PHP Version:
7.4.33
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
usr
/
share
/
ri
/
2.7.0
/
system
/
OpenSSL
/
Config
/
Edit File: to_s-i.ri
U:RDoc::AnyMethod[iI" to_s:ETI"OpenSSL::Config#to_s;TF:publico:RDoc::Markup::Document:@parts[ o:RDoc::Markup::Paragraph; [I"7Get the parsable form of the current configuration;To:RDoc::Markup::BlankLine o; ; [I"5Given the following configuration being created:;T@o:RDoc::Markup::Verbatim; [ I""config = OpenSSL::Config.new ;TI"* #=> #<OpenSSL::Config sections=[]> ;TI"5config['default'] = {"foo"=>"bar","baz"=>"buz"} ;TI"( #=> {"foo"=>"bar", "baz"=>"buz"} ;TI"puts config.to_s ;TI" #=> [ default ] ;TI" # foo=bar ;TI" # baz=buz ;T:@format0o; ; [I"OYou can parse get the serialized configuration using #to_s and then parse ;TI"it later:;T@o;; [ I"%serialized_config = config.to_s ;TI"# much later... ;TI";new_config = OpenSSL::Config.parse(serialized_config) ;TI"3 #=> #<OpenSSL::Config sections=["default"]> ;TI"puts new_config ;TI" #=> [ default ] ;TI" foo=bar ;TI" baz=buz;T; 0: @fileI"&ext/openssl/lib/openssl/config.rb;T:0@omit_headings_from_table_of_contents_below000[ I"();T@*FI"Config;TcRDoc::NormalClass00
Simpan