method

new

ruby latest stable - Class: Gem::Security::Signer
new(key, cert_chain, passphrase = nil)
public

Creates a new signer with an RSA key or path to a key, and a certificate chain containing X509 certificates, encoding certificates or paths to certificates.