This is the API documentation for openssl: Ruby Standard Library Documentation.
Support for the Ruby 2.4 series has ended. See here for reference.
New to Ruby? You may find these links helpful: syntax, control expressions, assignment, methods, modules + classes, and operator precedence.
This is the API documentation for openssl: Ruby Standard Library Documentation.
CIO
COpenSSL::OCSP::SingleResponse
COpenSSL::PKCS7::RecipientInfo
COpenSSL::PKey::EC::Group::Error
COpenSSL::PKey::EC::Point::Error
COpenSSL::SSL::SSLErrorWaitReadable
COpenSSL::SSL::SSLErrorWaitWritable
COpenSSL::SSL::Session::SessionError
MOpenSSL::SSL::SocketForwarder
COpenSSL::X509::AttributeError
COpenSSL::X509::CertificateError
COpenSSL::X509::ExtensionError
COpenSSL::X509::ExtensionFactory
::builtin_curves (OpenSSL::PKey::EC)
::check_func_or_macro (OpenSSL)
::create (OpenSSL::OCSP::Response)
::deprecated_warning_flag (OpenSSL)
::generate (OpenSSL::PKey::DH)
::generate (OpenSSL::PKey::DSA)
::generate (OpenSSL::PKey::EC)
::generate (OpenSSL::PKey::RSA)
::generate_prime (OpenSSL::BN)
::load_random_file (OpenSSL::Random)
::new (OpenSSL::ASN1::ASN1Data)
::new (OpenSSL::ASN1::Constructive)
::new (OpenSSL::ASN1::Primitive)
::new (OpenSSL::Netscape::SPKI)
::new (OpenSSL::OCSP::BasicResponse)
::new (OpenSSL::OCSP::CertificateId)
::new (OpenSSL::OCSP::Request)
::new (OpenSSL::OCSP::Response)
::new (OpenSSL::OCSP::SingleResponse)
::new (OpenSSL::PKCS7::RecipientInfo)
::new (OpenSSL::PKCS7::SignerInfo)
::new (OpenSSL::PKey::EC::Group)
::new (OpenSSL::PKey::EC::Point)
::new (OpenSSL::SSL::SSLContext)
::new (OpenSSL::SSL::SSLServer)
::new (OpenSSL::SSL::SSLSocket)
::new (OpenSSL::X509::Attribute)
::new (OpenSSL::X509::Certificate)
::new (OpenSSL::X509::Extension)
::new (OpenSSL::X509::ExtensionFactory)
::new (OpenSSL::X509::Request)
::new (OpenSSL::X509::Revoked)
::new (OpenSSL::X509::StoreContext)
::parse_config (OpenSSL::Config)
::parse_openssl (OpenSSL::X509::Name)
::parse_rfc2253 (OpenSSL::X509::Name)
::pbkdf2_hmac (OpenSSL::PKCS5)
::pbkdf2_hmac_sha1 (OpenSSL::PKCS5)
::pseudo_bytes (OpenSSL::Random)
::random_add (OpenSSL::Random)
::random_bytes (OpenSSL::Random)
::register (OpenSSL::ASN1::ObjectId)
::verify_certificate_identity (OpenSSL::SSL)
::write_random_file (OpenSSL::Random)
::write_smime (OpenSSL::PKCS7)
#== (OpenSSL::PKey::EC::Group)
#== (OpenSSL::PKey::EC::Point)
#accept (OpenSSL::SSL::SSLServer)
#accept (OpenSSL::SSL::SSLSocket)
#accept_nonblock (OpenSSL::SSL::SSLSocket)
#add_attribute (OpenSSL::X509::Request)
#add_cert (OpenSSL::X509::Store)
#add_certid (OpenSSL::OCSP::Request)
#add_certificate (OpenSSL::PKCS7)
#add_crl (OpenSSL::X509::Store)
#add_entry (OpenSSL::X509::Name)
#add_extension (OpenSSL::X509::CRL)
#add_extension (OpenSSL::X509::Certificate)
#add_extension (OpenSSL::X509::Revoked)
#add_file (OpenSSL::X509::Store)
#add_nonce (OpenSSL::OCSP::BasicResponse)
#add_nonce (OpenSSL::OCSP::Request)
#add_path (OpenSSL::X509::Store)
#add_recipient (OpenSSL::PKCS7)
#add_revoked (OpenSSL::X509::CRL)
#add_status (OpenSSL::OCSP::BasicResponse)
#addr (OpenSSL::SSL::SocketForwarder)
#alpn_protocol (OpenSSL::SSL::SSLSocket)
#asn1_flag (OpenSSL::PKey::EC::Group)
#asn1_flag= (OpenSSL::PKey::EC::Group)
#attributes (OpenSSL::X509::Request)
#attributes= (OpenSSL::X509::Request)
#auth_tag_len= (OpenSSL::Cipher)
#authenticated? (OpenSSL::Cipher)
#basic (OpenSSL::OCSP::Response)
#blinding_off! (OpenSSL::PKey::RSA)
#blinding_on! (OpenSSL::PKey::RSA)
#block_length (OpenSSL::Digest)
#cert (OpenSSL::SSL::SSLSocket)
#cert_status (OpenSSL::OCSP::SingleResponse)
#certid (OpenSSL::OCSP::Request)
#certid (OpenSSL::OCSP::SingleResponse)
#certificates (OpenSSL::PKCS7)
#certificates= (OpenSSL::PKCS7)
#chain (OpenSSL::X509::StoreContext)
#challenge (OpenSSL::Netscape::SPKI)
#challenge= (OpenSSL::Netscape::SPKI)
#check_key (OpenSSL::PKey::EC)
#check_nonce (OpenSSL::OCSP::Request)
#check_private_key (OpenSSL::X509::Certificate)
#check_validity (OpenSSL::OCSP::SingleResponse)
#cipher (OpenSSL::SSL::SSLSocket)
#ciphers (OpenSSL::SSL::SSLContext)
#ciphers= (OpenSSL::SSL::SSLContext)
#cleanup (OpenSSL::X509::StoreContext)
#client_ca (OpenSSL::SSL::SSLSocket)
#close (OpenSSL::SSL::SSLServer)
#closed? (OpenSSL::SSL::SocketForwarder)
#cmp (OpenSSL::OCSP::CertificateId)
#cmp_issuer (OpenSSL::OCSP::CertificateId)
#cofactor (OpenSSL::PKey::EC::Group)
#compute_key (OpenSSL::PKey::DH)
#connect (OpenSSL::SSL::SSLSocket)
#connect_nonblock (OpenSSL::SSL::SSLSocket)
#copy_nonce (OpenSSL::OCSP::BasicResponse)
#create_ext (OpenSSL::X509::ExtensionFactory)
#create_ext_from_array (OpenSSL::X509::ExtensionFactory)
#create_ext_from_hash (OpenSSL::X509::ExtensionFactory)
#create_ext_from_string (OpenSSL::X509::ExtensionFactory)
#create_extension (OpenSSL::X509::ExtensionFactory)
#critical= (OpenSSL::X509::Extension)
#critical? (OpenSSL::X509::Extension)
#crl= (OpenSSL::X509::ExtensionFactory)
#current_cert (OpenSSL::X509::StoreContext)
#current_crl (OpenSSL::X509::StoreContext)
#curve_name (OpenSSL::PKey::EC::Group)
#degree (OpenSSL::PKey::EC::Group)
#dh_compute_key (OpenSSL::PKey::EC)
#digest_length (OpenSSL::Digest)
#do_not_reverse_lookup= (OpenSSL::SSL::SocketForwarder)
#dsa_sign_asn1 (OpenSSL::PKey::EC)
#dsa_verify_asn1 (OpenSSL::PKey::EC)
#each (OpenSSL::ASN1::Constructive)
#each_byte (OpenSSL::Buffering)
#each_line (OpenSSL::Buffering)
#ecdh_curves= (OpenSSL::SSL::SSLContext)
#enc_key (OpenSSL::PKCS7::RecipientInfo)
#eql? (OpenSSL::PKey::EC::Group)
#eql? (OpenSSL::PKey::EC::Point)
#error (OpenSSL::X509::StoreContext)
#error= (OpenSSL::X509::StoreContext)
#error_depth (OpenSSL::X509::StoreContext)
#error_string (OpenSSL::X509::StoreContext)
#expand_hexstring (OpenSSL::X509::Name::RFC2253DN)
#expand_pair (OpenSSL::X509::Name::RFC2253DN)
#expand_value (OpenSSL::X509::Name::RFC2253DN)
#extensions (OpenSSL::OCSP::SingleResponse)
#extensions (OpenSSL::X509::CRL)
#extensions (OpenSSL::X509::Certificate)
#extensions (OpenSSL::X509::Revoked)
#extensions= (OpenSSL::X509::CRL)
#extensions= (OpenSSL::X509::Certificate)
#extensions= (OpenSSL::X509::Revoked)
#fcntl (OpenSSL::SSL::SocketForwarder)
#find_response (OpenSSL::OCSP::BasicResponse)
#flags= (OpenSSL::X509::Store)
#flags= (OpenSSL::X509::StoreContext)
#flush_sessions (OpenSSL::SSL::SSLContext)
#freeze (OpenSSL::SSL::SSLContext)
#generate_key (OpenSSL::PKey::EC)
#generate_key! (OpenSSL::PKey::DH)
#generate_key! (OpenSSL::PKey::EC)
#generator (OpenSSL::PKey::EC::Group)
#getsockopt (OpenSSL::SSL::SocketForwarder)
#hash_algorithm (OpenSSL::OCSP::CertificateId)
#hash_old (OpenSSL::X509::Name)
#hostname= (OpenSSL::SSL::SSLSocket)
#infinity? (OpenSSL::PKey::EC::Point)
#inspect (OpenSSL::X509::Certificate)
#invert! (OpenSSL::PKey::EC::Point)
#issuer (OpenSSL::PKCS7::RecipientInfo)
#issuer (OpenSSL::PKCS7::SignerInfo)
#issuer (OpenSSL::X509::Certificate)
#issuer= (OpenSSL::X509::Certificate)
#issuer_certificate= (OpenSSL::X509::ExtensionFactory)
#issuer_key_hash (OpenSSL::OCSP::CertificateId)
#issuer_name_hash (OpenSSL::OCSP::CertificateId)
#last_update (OpenSSL::X509::CRL)
#last_update= (OpenSSL::X509::CRL)
#listen (OpenSSL::SSL::SSLServer)
#load_private_key (OpenSSL::Engine)
#load_public_key (OpenSSL::Engine)
#long_name (OpenSSL::ASN1::ObjectId)
#make_affine! (OpenSSL::PKey::EC::Point)
#mul (OpenSSL::PKey::EC::Point)
#name (OpenSSL::PKCS7::SignerInfo)
#next_update (OpenSSL::OCSP::SingleResponse)
#next_update (OpenSSL::X509::CRL)
#next_update= (OpenSSL::X509::CRL)
#not_after (OpenSSL::X509::Certificate)
#not_after= (OpenSSL::X509::Certificate)
#not_before (OpenSSL::X509::Certificate)
#not_before= (OpenSSL::X509::Certificate)
#npn_protocol (OpenSSL::SSL::SSLSocket)
#oid (OpenSSL::ASN1::ObjectId)
#oid (OpenSSL::X509::Attribute)
#oid (OpenSSL::X509::Extension)
#oid= (OpenSSL::X509::Attribute)
#oid= (OpenSSL::X509::Extension)
#on_curve? (OpenSSL::PKey::EC::Point)
#options (OpenSSL::SSL::SSLContext)
#options= (OpenSSL::SSL::SSLContext)
#order (OpenSSL::PKey::EC::Group)
#params_ok? (OpenSSL::PKey::DH)
#peer_cert (OpenSSL::SSL::SSLSocket)
#peer_cert_chain (OpenSSL::SSL::SSLSocket)
#peeraddr (OpenSSL::SSL::SocketForwarder)
#pending (OpenSSL::SSL::SSLSocket)
#pkcs5_keyivgen (OpenSSL::Cipher)
#point_conversion_form (OpenSSL::PKey::EC::Group)
#point_conversion_form= (OpenSSL::PKey::EC::Group)
#post_connection_check (OpenSSL::SSL::SSLSocket)
#pretty_print (OpenSSL::X509::Certificate)
#pretty_print (OpenSSL::X509::Name)
#prime_fasttest? (OpenSSL::BN)
#private? (OpenSSL::PKey::DSA)
#private? (OpenSSL::PKey::RSA)
#private_decrypt (OpenSSL::PKey::RSA)
#private_encrypt (OpenSSL::PKey::RSA)
#private_key (OpenSSL::PKey::EC)
#private_key= (OpenSSL::PKey::EC)
#private_key? (OpenSSL::PKey::EC)
#public_decrypt (OpenSSL::PKey::RSA)
#public_encrypt (OpenSSL::PKey::RSA)
#public_key (OpenSSL::Netscape::SPKI)
#public_key (OpenSSL::PKey::DH)
#public_key (OpenSSL::PKey::DSA)
#public_key (OpenSSL::PKey::EC)
#public_key (OpenSSL::PKey::RSA)
#public_key (OpenSSL::X509::Certificate)
#public_key (OpenSSL::X509::Request)
#public_key= (OpenSSL::Netscape::SPKI)
#public_key= (OpenSSL::PKey::EC)
#public_key= (OpenSSL::X509::Certificate)
#public_key= (OpenSSL::X509::Request)
#public_key? (OpenSSL::PKey::EC)
#purpose= (OpenSSL::X509::Store)
#purpose= (OpenSSL::X509::StoreContext)
#read_nonblock (OpenSSL::Buffering)
#readchar (OpenSSL::Buffering)
#readline (OpenSSL::Buffering)
#readlines (OpenSSL::Buffering)
#readpartial (OpenSSL::Buffering)
#responses (OpenSSL::OCSP::BasicResponse)
#revocation_reason (OpenSSL::OCSP::SingleResponse)
#revocation_time (OpenSSL::OCSP::SingleResponse)
#revoked= (OpenSSL::X509::CRL)
#scan (OpenSSL::X509::Name::RFC2253DN)
#security_level (OpenSSL::SSL::SSLContext)
#security_level= (OpenSSL::SSL::SSLContext)
#seed (OpenSSL::PKey::EC::Group)
#seed= (OpenSSL::PKey::EC::Group)
#serial (OpenSSL::OCSP::CertificateId)
#serial (OpenSSL::PKCS7::RecipientInfo)
#serial (OpenSSL::PKCS7::SignerInfo)
#serial (OpenSSL::X509::Certificate)
#serial (OpenSSL::X509::Revoked)
#serial= (OpenSSL::X509::Certificate)
#serial= (OpenSSL::X509::Revoked)
#session (OpenSSL::SSL::SSLSocket)
#session= (OpenSSL::SSL::SSLSocket)
#session_add (OpenSSL::SSL::SSLContext)
#session_cache_mode (OpenSSL::SSL::SSLContext)
#session_cache_mode= (OpenSSL::SSL::SSLContext)
#session_cache_size (OpenSSL::SSL::SSLContext)
#session_cache_size= (OpenSSL::SSL::SSLContext)
#session_cache_stats (OpenSSL::SSL::SSLContext)
#session_remove (OpenSSL::SSL::SSLContext)
#session_reused? (OpenSSL::SSL::SSLSocket)
#set_crt_params (OpenSSL::PKey::RSA)
#set_default (OpenSSL::Engine)
#set_default_paths (OpenSSL::X509::Store)
#set_factors (OpenSSL::PKey::RSA)
#set_generator (OpenSSL::PKey::EC::Group)
#set_params (OpenSSL::SSL::SSLContext)
#set_to_infinity! (OpenSSL::PKey::EC::Point)
#setsockopt (OpenSSL::SSL::SocketForwarder)
#setup (OpenSSL::SSL::SSLContext)
#short_name (OpenSSL::ASN1::ObjectId)
#shutdown (OpenSSL::SSL::SSLServer)
#sign (OpenSSL::Netscape::SPKI)
#sign (OpenSSL::OCSP::BasicResponse)
#sign (OpenSSL::OCSP::Request)
#sign (OpenSSL::X509::Certificate)
#sign (OpenSSL::X509::Request)
#signature_algorithm (OpenSSL::X509::CRL)
#signature_algorithm (OpenSSL::X509::Certificate)
#signature_algorithm (OpenSSL::X509::Request)
#signed_time (OpenSSL::PKCS7::SignerInfo)
#ssl_version (OpenSSL::SSL::SSLSocket)
#ssl_version= (OpenSSL::SSL::SSLContext)
#state (OpenSSL::SSL::SSLSocket)
#status (OpenSSL::OCSP::BasicResponse)
#status (OpenSSL::OCSP::Response)
#status_string (OpenSSL::OCSP::Response)
#subject (OpenSSL::X509::Certificate)
#subject (OpenSSL::X509::Request)
#subject= (OpenSSL::X509::Certificate)
#subject= (OpenSSL::X509::Request)
#subject_certificate= (OpenSSL::X509::ExtensionFactory)
#subject_request= (OpenSSL::X509::ExtensionFactory)
#sysclose (OpenSSL::SSL::SSLSocket)
#sysread (OpenSSL::SSL::SSLSocket)
#sysverify (OpenSSL::PKey::DSA)
#syswrite (OpenSSL::SSL::SSLSocket)
#this_update (OpenSSL::OCSP::SingleResponse)
#time (OpenSSL::X509::Revoked)
#time= (OpenSSL::SSL::Session)
#time= (OpenSSL::X509::Revoked)
#time= (OpenSSL::X509::StoreContext)
#timeout (OpenSSL::SSL::Session)
#timeout= (OpenSSL::SSL::Session)
#tmp_key (OpenSSL::SSL::SSLSocket)
#to_a (OpenSSL::X509::Extension)
#to_bn (OpenSSL::PKey::EC::Point)
#to_der (OpenSSL::ASN1::ASN1Data)
#to_der (OpenSSL::ASN1::Constructive)
#to_der (OpenSSL::ASN1::Primitive)
#to_der (OpenSSL::Netscape::SPKI)
#to_der (OpenSSL::OCSP::BasicResponse)
#to_der (OpenSSL::OCSP::CertificateId)
#to_der (OpenSSL::OCSP::Request)
#to_der (OpenSSL::OCSP::Response)
#to_der (OpenSSL::OCSP::SingleResponse)
#to_der (OpenSSL::PKey::EC::Group)
#to_der (OpenSSL::SSL::Session)
#to_der (OpenSSL::X509::Attribute)
#to_der (OpenSSL::X509::Certificate)
#to_der (OpenSSL::X509::Extension)
#to_der (OpenSSL::X509::Request)
#to_h (OpenSSL::X509::Extension)
#to_io (OpenSSL::SSL::SSLServer)
#to_pem (OpenSSL::Netscape::SPKI)
#to_pem (OpenSSL::PKey::EC::Group)
#to_pem (OpenSSL::SSL::Session)
#to_pem (OpenSSL::X509::Certificate)
#to_pem (OpenSSL::X509::Request)
#to_s (OpenSSL::Netscape::SPKI)
#to_s (OpenSSL::X509::Certificate)
#to_s (OpenSSL::X509::Extension)
#to_s (OpenSSL::X509::Request)
#to_text (OpenSSL::Netscape::SPKI)
#to_text (OpenSSL::PKey::EC::Group)
#to_text (OpenSSL::SSL::Session)
#to_text (OpenSSL::X509::Certificate)
#to_text (OpenSSL::X509::Request)
#trust= (OpenSSL::X509::Store)
#trust= (OpenSSL::X509::StoreContext)
#value (OpenSSL::X509::Attribute)
#value (OpenSSL::X509::Extension)
#value= (OpenSSL::X509::Attribute)
#value= (OpenSSL::X509::Extension)
#verify (OpenSSL::Netscape::SPKI)
#verify (OpenSSL::OCSP::BasicResponse)
#verify (OpenSSL::OCSP::Request)
#verify (OpenSSL::X509::Certificate)
#verify (OpenSSL::X509::Request)
#verify (OpenSSL::X509::Store)
#verify (OpenSSL::X509::StoreContext)
#verify_callback= (OpenSSL::X509::Store)
#verify_result (OpenSSL::SSL::SSLSocket)
#version (OpenSSL::X509::Certificate)
#version (OpenSSL::X509::Request)
#version= (OpenSSL::X509::CRL)
#version= (OpenSSL::X509::Certificate)
#version= (OpenSSL::X509::Request)