Class: OpenSSL::PKey::EC
- Inherits:
-
Object
- Object
- OpenSSL::PKey::EC
- Defined in:
- lib/r509/ec-hack.rb,
lib/r509/ec-hack.rb
Overview
marked as @private so it won’t appear in the yard doc
Constant Summary collapse
- UNSUPPORTED =
true
Instance Method Summary collapse
-
#initialize(*args) ⇒ EC
constructor
A new instance of EC.
- #method_missing(method, *args, &block) ⇒ Object
- #private? ⇒ Boolean
Constructor Details
#initialize(*args) ⇒ EC
Returns a new instance of EC.
29 30 31 |
# File 'lib/r509/ec-hack.rb', line 29 def initialize(*args) raise R509::R509Error, "EC is unavailable. You may need to recompile Ruby with an OpenSSL that has elliptic curve support." end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method
#method_missing(method, *args, &block) ⇒ Object
33 34 35 |
# File 'lib/r509/ec-hack.rb', line 33 def method_missing(method, *args, &block) raise R509::R509Error, "EC is unavailable. You may need to recompile Ruby with an OpenSSL that has elliptic curve support." end |
Instance Method Details
#private? ⇒ Boolean
14 15 16 |
# File 'lib/r509/ec-hack.rb', line 14 def private? private_key? end |