Method deprecated or moved
This method is deprecated or moved on the latest stable version.
The last existing version (v1_9_3_392) is shown here.
sign_cert(cert, signing_key, signing_cert, opt = {})
public
Sign the cert cert with @signing_key and @signing_cert, using the digest
algorithm opt[:dgst_algo]. Returns the newly signed certificate.
# File lib/rubygems/security.rb, line 641
def self.sign_cert(cert, signing_key, signing_cert, opt = {})
opt = OPT.merge(opt)
cert.issuer = signing_cert.subject
cert.sign signing_key, opt[:dgst_algo].new
cert
end