We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 972747f commit daad7ceCopy full SHA for daad7ce
1 file changed
README.md
@@ -444,7 +444,7 @@ xml = response.body
444
errors = []
445
doc = XMLSecurity::SignedDocument.new(xml, errors)
446
cert_str = "<include_cert_here>"
447
-cert = OneLogin::RubySaml::Utils.format_cert("cert_str")
+cert = OneLogin::RubySaml::Utils.format_cert(cert_str)
448
metadata_sign_cert = OpenSSL::X509::Certificate.new(cert)
449
valid = doc.validate_document_with_cert(metadata_sign_cert, true)
450
if valid
0 commit comments