lib/saml/kit/fingerprint.rb in saml-kit-0.2.14 vs lib/saml/kit/fingerprint.rb in saml-kit-0.2.15

- old
+ new

@@ -1,7 +1,12 @@ module Saml module Kit # This generates a fingerprint for an X509 Certificate. + # + # certificate, _ = Saml::Kit::SelfSignedCertificate.new("password").create + # + # puts Saml::Kit::Fingerprint.new(certificate).to_s + # # B7:AB:DC:BD:4D:23:58:65:FD:1A:99:0C:5F:89:EA:87:AD:F1:D7:83:34:7A:E9:E4:88:12:DD:46:1F:38:05:93 class Fingerprint # The OpenSSL::X509::Certificate attr_reader :x509 def initialize(raw_certificate)