Adds certificate_id to the request.
Returns a SingleResponse
whose CertId matches with certificate_id, or nil
if this BasicResponse
does not contain it.
If the Request
specified to request the TSA certificate (Request#cert_requested = true), then this field contains the certificate of the timestamp authority.
Returns time when this timestamp token was created. If status is GRANTED or GRANTED_WITH_MODS, this is never nil
.
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.
Gets credentials based on user, domain or both. If both are nil, an error occurs
Ensures that :SSLCertificate and :SSLPrivateKey have been provided or that a new certificate is generated with the other parameters provided.