X7ROOT File Manager
Current Path:
/opt/alt/ruby27/share/gems/gems/openssl-2.1.4/lib/openssl
opt
/
alt
/
ruby27
/
share
/
gems
/
gems
/
openssl-2.1.4
/
lib
/
openssl
/
??
..
??
bn.rb
(708 B)
??
buffering.rb
(9.68 KB)
??
cipher.rb
(1.7 KB)
??
config.rb
(12.55 KB)
??
digest.rb
(1.71 KB)
??
pkcs5.rb
(614 B)
??
pkey.rb
(663 B)
??
ssl.rb
(15.98 KB)
??
x509.rb
(5.82 KB)
Editing: pkey.rb
# frozen_string_literal: false #-- # Ruby/OpenSSL Project # Copyright (C) 2017 Ruby/OpenSSL Project Authors #++ module OpenSSL::PKey if defined?(EC) class EC::Point # :call-seq: # point.to_bn([conversion_form]) -> OpenSSL::BN # # Returns the octet string representation of the EC point as an instance of # OpenSSL::BN. # # If _conversion_form_ is not given, the _point_conversion_form_ attribute # set to the group is used. # # See #to_octet_string for more information. def to_bn(conversion_form = group.point_conversion_form) OpenSSL::BN.new(to_octet_string(conversion_form), 2) end end end end
Upload File
Create Folder