module OpenSSLExtensions::BN

Public Instance Methods

to_hex() click to toggle source

OpenSSL deals with serials in HEX format. This gives you the ability to get this hex serial if you need to work with certificate information directly with OpenSSL

# File lib/openssl-extensions/bn.rb, line 9
def to_hex
  to_s(16).upcase
end