123456789_123456789_123456789_123456789_123456789_

Class: Integer

Relationships & Source Files
Inherits: Object
Defined in: ext/openssl/lib/openssl/bn.rb

Instance Method Summary

Instance Method Details

#to_bn

Casts an Integer as an ::OpenSSL::BN

See man bn for more info.

[ GitHub ]

  
# File 'ext/openssl/lib/openssl/bn.rb', line 37

def to_bn
  OpenSSL::BN::new(self)
end