Method: JWK::ECKey.from_openssl
- Defined in:
- lib/jwk/ec_key.rb
.from_openssl(k) ⇒ Object
77 78 79 80 81 82 83 |
# File 'lib/jwk/ec_key.rb', line 77 def from_openssl(k) if k.is_a? OpenSSL::PKey::EC::Point from_openssl_public(k) else from_openssl_private(k) end end |