Skip to content

End of Life Ruby 3.0 has reached end of life and gets no more fixes. Switch to Ruby 4.0 →

class method

OpenSSL::Timestamp::Request.new

OpenSSL::Timestamp::Request.new(file) → request
OpenSSL::Timestamp::Request.new(string) → request
OpenSSL::Timestamp::Request.new → empty request

When creating a Request with the File or string parameter, the corresponding File or string must be DER-encoded.

See also #algorithm #algorithm= also in 4.1 · 4.0 · 3.4 · 3.3 · 3.2 · 3.1