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.
General callback for OpenSSL
verify
Responsible for finding the nearest targets to the given comment within the context of the given encapsulating node.
Build a diagnostic from the given prism parse error.
Build a diagnostic from the given prism parse warning.
Build the parser gem AST from the prism AST.
Returns true if there is a comma between the two locations.
Returns true if there is a semicolon between the two locations.
Extracts the certificate chain from the spec
and calls verify
to ensure the signatures and certificate chain is valid according to the policy..