Skip to content
instance method

OpenSSL::Timestamp::Factory#create_timestamp

(::OpenSSL::PKey::PKey key, ::OpenSSL::X509::Certificate cert, ::OpenSSL::Timestamp::Request request) -> ::OpenSSL::Timestamp::Response
factory.create_timestamp(key, certificate, request) → Response

Creates a Response with the help of an OpenSSL::PKey, an OpenSSL::X509::Certificate and a Request.

Mandatory parameters for timestamp creation that need to be set in the Request:

Mandatory parameters that need to be set in the Factory:

In addition one of either Request#policy_id or Factory#default_policy_id must be set.

Raises a TimestampError if creation fails, though successfully created error responses may be returned.

also in 4.1 · 3.4 · 3.3 · 3.2 · 3.1 · 3.0