This is a Ruby tree! It shows every object from the Ruby Programming Language in a tree format.
# OpenSSL::PKey::EC < OpenSSL::PKey::PKey --- # Includes: OpenSSL::Marshal (from ruby core) (from ruby core) --- OpenSSL::PKey::EC provides access to Elliptic Curve Digital Signature Algorithm (ECDSA) and Elliptic Curve Diffie-Hellman (ECDH). ### Key exchange ec1 = OpenSSL::PKey::EC.generate("prime256v1") ec2 = OpenSSL::PKey::EC.generate("prime256v1") # ec1 and ec2 have own private key respectively shared_key1 = ec1.dh_compute_key(ec2.public_key) shared_key2 = ec2.dh_compute_key(ec1.public_key) p shared_key1 == shared_key2 #=> true --- # Constants: EXPLICIT_CURVE : [not documented] NAMED_CURVE : [not documented] # Class methods: builtin_curves generate new # Instance methods: check_key dh_compute_key dsa_sign_asn1 dsa_verify_asn1 export generate_key generate_key! group group= initialize_copy private? private_key private_key= private_key? public? public_key public_key= public_key? to_der to_pem
This is MURDOC! A Ruby documentation browser inspired by Smalltalk-80. It allows you to learn about Ruby by browsing through its class hierarchies, and see any of its methods.