Skip to content
instance method

OpenSSL::PKey::EC#public?

() -> bool
key.public? => true or false

Returns whether this EC instance has a public key. The public key (EC::Point) can be retrieved with EC#public_key.