Returns the version number of the token info. With compliant servers, this value should be 1
if present. If status is GRANTED or GRANTED_WITH_MODS.
Sets the version number for this Request
. This should be 1
for compliant servers.
Returns the version of this request. 1
is the default value.
Sets the time to be used in the certificate verifications with the store. By default, if not specified, the current system time is used.
OpenSSL::X509::StoreContext#time=
can be used to change the value for a single verification operation.
See also the man page X509_VERIFY_PARAM_set_time(3).
Raises an exception if any arguments given.
Raises an exception if argument is not present.
Parses argument if given, or uses default value.
Returns nil if argument is not present or begins with ‘-’ and is not ‘-’.
Parses a source buffer and returns the AST.
Parses the given Ruby program read from src
. src
must be a String
or an IO
or a object with a gets method.
Parse the source and return the result.
Parse the given source and translate it into the seattlerb/ruby_parser gem’s Sexp format.
Parse the given source and translate it into the seattlerb/ruby_parser gem’s Sexp format.
Return the ActivationRequest
that contained the dependency that we were activated for.
The version of this activation request’s specification
The version of the gem for this specification.
Sets dmp1, dmq1, iqmp for the RSA
instance. They are calculated by d mod (p - 1)
, d mod (q - 1)
and q^(-1) mod p
respectively.
Gets the initial Negotiate token. Returns it as a base64 encoded string suitable for use in HTTP. Can be easily decoded, however.
Parses a source buffer and returns the AST and the source code comments.
Since prism resolves num params for us, we don’t need to support this kind of logic here.