lib/saml/kit/configuration.rb in saml-kit-0.2.0 vs lib/saml/kit/configuration.rb in saml-kit-0.2.1
- old
+ new
@@ -30,14 +30,14 @@
def stripped_encryption_certificate
normalize(encryption_certificate_pem)
end
def signing_x509
- OpenSSL::X509::Certificate.new(signing_certificate_pem)
+ Certificate.to_x509(signing_certificate_pem)
end
def encryption_x509
- OpenSSL::X509::Certificate.new(encryption_certificate_pem)
+ Certificate.to_x509(encryption_certificate_pem)
end
def signing_private_key
OpenSSL::PKey::RSA.new(signing_private_key_pem, signing_private_key_password)
end