PHP 8.2.31
Preview: pkey.rb Size: 663 B
/proc/thread-self/root/opt/alt/ruby26/lib64/ruby/2.6.0/openssl/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

Directory Contents

Dirs: 0 × Files: 9

Name Size Perms Modified Actions
708 B lrw-r--r-- 2023-07-26 15:03:14
Edit Download
9.68 KB lrw-r--r-- 2023-07-26 15:03:14
Edit Download
1.70 KB lrw-r--r-- 2023-07-26 15:03:14
Edit Download
11.98 KB lrw-r--r-- 2023-07-26 15:03:14
Edit Download
1.71 KB lrw-r--r-- 2023-07-26 15:03:14
Edit Download
614 B lrw-r--r-- 2023-07-26 15:03:14
Edit Download
663 B lrw-r--r-- 2023-07-26 15:03:14
Edit Download
15.98 KB lrw-r--r-- 2023-07-26 15:03:14
Edit Download
5.82 KB lrw-r--r-- 2023-07-26 15:03:14
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).