method

new

new(key, cert_chain, passphrase = nil, options = {})
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.