D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
proc
/
self
/
root
/
opt
/
alt
/
ruby34
/
share
/
ri
/
system
/
OpenSSL
/
BN
/
Filename :
new-c.ri
back
Copy
U:RDoc::AnyMethod[iI"new:ETI"OpenSSL::BN::new;TT:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I",Construct a new \OpenSSL BIGNUM object.;To:RDoc::Markup::BlankLine o; ; [I"IIf +bn+ is an Integer or OpenSSL::BN, a new instance of OpenSSL::BN ;TI"Mrepresenting the same value is returned. See also Integer#to_bn for the ;TI"short-hand.;T@o; ; [I"JIf a String is given, the content will be parsed according to +base+.;T@o:RDoc::Markup::List: @type: NOTE:@items[o:RDoc::Markup::ListItem:@label[I" +string+;T; [o; ; [I"The string to be parsed.;To;;[I"+base+;T; [o; ; [I".The format. Must be one of the following:;To;; :BULLET;[ o;;0; [o; ; [I"B+0+ - MPI format. See the man page BN_mpi2bn(3) for details.;To;;0; [o; ; [I"I+2+ - Variable-length and big-endian binary encoding of a positive ;TI"number.;To;;0; [o; ; [I"M+10+ - Decimal number representation, with a leading '-' for a negative ;TI"number.;To;;0; [o; ; [I"H+16+ - Hexadecimal number representation, with a leading '-' for a ;TI"negative number.;T: @fileI"ext/openssl/ossl_bn.c;T:0@omit_headings_from_table_of_contents_below0I"jOpenSSL::BN.new(bn) -> aBN OpenSSL::BN.new(integer) -> aBN OpenSSL::BN.new(string, base = 10) -> aBN ;T0[ I"(p1, p2 = v2);T@@FI"BN;TcRDoc::NormalClass00