Method: Puppet::SSL::CertificateSigner#sign
- Defined in:
- lib/puppet/ssl/certificate_signer.rb
#sign(content, key) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Sign a certificate signing request (CSR) with a private key.
36 37 38 |
# File 'lib/puppet/ssl/certificate_signer.rb', line 36 def sign(content, key) content.sign(key, @digest.new) end |