method

re_sign_cert

ruby latest stable - Class: Gem::Commands::CertCommand

Method not available on this version

This method is only available on newer versions. The first available version (v2_6_3) is shown here.

re_sign_cert(cert, cert_path, private_key)
public

No documentation available.

# File lib/rubygems/commands/cert_command.rb, line 308
  def re_sign_cert(cert, cert_path, private_key)
    Gem::Security::Signer.re_sign_cert(cert, cert_path, private_key) do |expired_cert_path, new_expired_cert_path|
      alert("Your certificate #{expired_cert_path} has been re-signed")
      alert("Your expired certificate will be located at: #{new_expired_cert_path}")
    end
  end