pass
- string
salt
- string - should be at least 8 bytes long.
iter
- integer - should be greater than 1000. 20000 is better.
keylen
- integer
This method is available in almost any version of OpenSSL
.
Conforms to RFC 2898.
Iterates through the header names in the header, passing capitalized header names to the code block.
Note that header names are capitalized systematically; capitalization may not match that used by the remote HTTP
server in its response.
Returns an enumerator if no block is given.
Set
header fields and a body from HTML form data. params
should be an Array of Arrays or a Hash
containing HTML form data. Optional argument sep
means data record separator.
Values are URL encoded as necessary and the content-type is set to application/x-www-form-urlencoded
Example:
http.form_data = {"q" => "ruby", "lang" => "en"} http.form_data = {"q" => ["ruby", "perl"], "lang" => "en"} http.set_form_data({"q" => "ruby", "lang" => "en"}, ';')
Check whether the object_id id
is in the current buffer of objects to be pretty printed. Used to break cycles in chains of objects to be pretty printed.
Turns email_address
into an OpenSSL::X509::Name
Asks the user to answer question
with an answer from the given list
.
Add the –platform option to the option parser.
Parses form data in io
with the given boundary
Parses form data in io
with the given boundary