Method: Puppet::SSL::Base#fingerprint
- Defined in:
- lib/puppet/ssl/base.rb
#fingerprint(md = :SHA256) ⇒ Object
116 117 118 119 |
# File 'lib/puppet/ssl/base.rb', line 116 def fingerprint(md = :SHA256) mds = md.to_s.upcase digest(mds).to_hex end |