Sha256: 61048d936fbc7473e99f73bff77dcd4a43326e676d9a594653467fa71d19ff95
Contents?: true
Size: 891 Bytes
Versions: 3
Compression:
Stored size: 891 Bytes
Contents
# frozen_string_literal: true module Decidim module Suomifi module Test class CertStore attr_reader :certificate, :private_key, :sign_certificate, :sign_private_key def initialize # Certificates certgen = OmniAuth::Suomifi::Test::CertificateGenerator.new @certificate = certgen.certificate @private_key = certgen.private_key # Use local certificate and private key for signing because otherwise the # locally signed SAMLResponse's signature cannot be properly validated as # we cannot sign it using the actual environments private key which is # unknown. sign_certgen = OmniAuth::Suomifi::Test::CertificateGenerator.new @sign_certificate = sign_certgen.certificate @sign_private_key = sign_certgen.private_key end end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
decidim-suomifi-0.19.0 | lib/decidim/suomifi/test/cert_store.rb |
decidim-suomifi-0.18.1 | lib/decidim/suomifi/test/cert_store.rb |
decidim-suomifi-0.18.0 | lib/decidim/suomifi/test/cert_store.rb |