Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
ruby / usr / share / ri / 2.2.0 / system / OpenSSL / PKey / RSA / new-c.ri
Size: Mime:
U:RDoc::AnyMethod[iI"new:ETI"OpenSSL::PKey::RSA::new;FT:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph;	[I"NGenerates or loads an RSA keypair.  If an integer +key_size+ is given it ;TI"Jrepresents the desired key size.  Keys less than 1024 bits should be ;TI"considered insecure.;To:RDoc::Markup::BlankLineo;
;	[I"PA key can instead be loaded from an +encoded_key+ which must be PEM or DER ;TI"Qencoded.  A +pass_phrase+ can be used to decrypt the key.  If none is given ;TI"-OpenSSL will prompt for the pass phrase.;T@S:RDoc::Markup::Heading:
leveli:	textI"
Examples;T@o:RDoc::Markup::Verbatim;	[I"!OpenSSL::PKey::RSA.new 2048
;TI"0OpenSSL::PKey::RSA.new File.read 'rsa.pem'
;TI"BOpenSSL::PKey::RSA.new File.read('rsa.pem'), 'my pass phrase';T:@format0:
@fileI" ext/openssl/ossl_pkey_rsa.c;T:0@omit_headings_from_table_of_contents_below0I"–RSA.new(key_size)                 => RSA instance
RSA.new(encoded_key)              => RSA instance
RSA.new(encoded_key, pass_phrase) => RSA instance
;T0[I"(p1 = v1, p2 = v2);T@FI"RSA;FcRDoc::NormalClass00