class Decidim::Mpassid::Test::CertStore
Attributes
sign_certificate[R]
sign_private_key[R]
Public Class Methods
new()
click to toggle source
# File lib/decidim/mpassid/test/cert_store.rb, line 9 def initialize # 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::MPASSid::Test::CertificateGenerator.new @sign_certificate = sign_certgen.certificate @sign_private_key = sign_certgen.private_key end