Returns the public key associated with the SPKI
, an instance of OpenSSL::PKey
.
pub - the public key to be set for this instance
Sets the public key to be associated with the SPKI
, an instance of OpenSSL::PKey
. This should be the public key corresponding to the private key used for signing the SPKI
.
Compares this certificate id’s issuer with other and returns true
if they are the same.
Update RubyGems software to the latest version.
We want to use the same linker that Ruby
uses, so that the linker flags from mkmf work properly.
Updates the TarHeader’s checksum
Returns the issuer certificate of the given certificate
if it exists in the trust directory.
Loads the given public key identified by id and data.
An EngineError
is raised of the OpenSSL::PKey
is unavailable.
Return an array of extra arguments for the command. The extra arguments come from the gem configuration file read at program startup.
Adds extra args from ~/.gemrc
Returns the RubyGems.org API key
Sets the RubyGems.org API key to api_key
Ensures the Gem::Specification
written out for this gem is loadable upon installation.
return the stub script text used to launch the true Ruby
script