⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.133
Server IP:
185.119.109.197
Server:
Linux managedhosting.chostar.me 5.15.0-160-generic #170-Ubuntu SMP Wed Oct 1 10:06:56 UTC 2025 x86_64
Server Software:
Apache
PHP Version:
8.1.33
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
usr
/
share
/
ri
/
3.0.0
/
system
/
OpenSSL
/
PKey
/
View File Name :
generate_key-c.ri
U:RDoc::AnyMethod[iI"generate_key:ETI" OpenSSL::PKey::generate_key;TT:publico:RDoc::Markup::Document:@parts[ o:RDoc::Markup::Paragraph; [I" Generates a new key (pair).;To:RDoc::Markup::BlankLine o; ; [ I"OIf a String is given as the first argument, it generates a new random key ;TI"Qfor the algorithm specified by the name just as ::generate_parameters does. ;TI"OIf an OpenSSL::PKey::PKey is given instead, it generates a new random key ;TI"Nfor the same algorithm as the key, using the parameters the key contains.;T@o; ; [I"PSee ::generate_parameters for the details of _options_ and the given block.;T@S:RDoc::Markup::Heading: leveli: textI"Example;To:RDoc::Markup::Verbatim; [ I"Ypkey_params = OpenSSL::PKey.generate_parameters("DSA", "dsa_paramgen_bits" => 2048) ;TI""pkey_params.priv_key #=> nil ;TI"4pkey = OpenSSL::PKey.generate_key(pkey_params) ;TI",pkey.priv_key #=> #
pkey OpenSSL::PKey.generate_key(pkey [, options]) -> pkey ;T0[ I"(*args);T@ FI" PKey;TcRDoc::NormalModule00