Ensures that signer
is valid for time
and was signed by the issuer
. If the issuer
is nil
no verification is performed.
Extracts the certificate chain from the spec
and calls verify
to ensure the signatures and certificate chain is valid according to the policy..
Return the full path to the cached gem file matching the given name and version requirement. Returns ‘nil’ if no match.
Example:
get_path 'rake', '> 0.4' # "/usr/lib/ruby/gems/1.8/cache/rake-0.4.2.gem" get_path 'rake', '< 0.1' # nil get_path 'rak' # nil (exact name required)
Update RubyGems software to the latest version.
Adds a local gem requested using dep_name
with the given spec
that can be loaded and installed using the source
.
Returns the path to the trusted certificate
Enumerates trusted certificates.
Returns the issuer certificate of the given certificate
if it exists in the trust directory.
Add a certificate to trusted certificate list.
Loads a Gem::Specification
from this set which has the given name
, version ver
, platform
. The source
is ignored.
Retrieves a password from the database for user
in realm
. If reload_db
is true the database will be reloaded first.
Retrieves a password from the database for user
in realm
. If reload_db
is true the database will be reloaded first.
Factory for servlet instances that will handle a request from server
using options
from the mount point. By default a new servlet instance is created for every call.
Raises a NotFound exception
Handles GET requests
Allow custom handling of requests for files with suffix
by class handler