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.
Fetch the end line of the value.
Fetch the start byte offset of the value.
Fetch the start byte column of the value.
Build a diagnostic from the given prism parse error.
Build the parser gem AST from the prism AST.
Build a range from a prism location.
Options for how prism should parse/lex the source.
Returns true if there is a semicolon between the two locations.
Returns true if other
is a subdomain.
Example:
domain = Resolv::DNS::Name.create("y.z") p Resolv::DNS::Name.create("w.x.y.z").subdomain_of?(domain) #=> true p Resolv::DNS::Name.create("x.y.z").subdomain_of?(domain) #=> true p Resolv::DNS::Name.create("y.z").subdomain_of?(domain) #=> false p Resolv::DNS::Name.create("z").subdomain_of?(domain) #=> false p Resolv::DNS::Name.create("x.y.z.").subdomain_of?(domain) #=> false p Resolv::DNS::Name.create("w.z").subdomain_of?(domain) #=> false
Verifies each certificate in chain
has signed the following certificate and is valid for the given time
.
Extracts the certificate chain from the spec
and calls verify
to ensure the signatures and certificate chain is valid according to the policy..