Skip to content

Commit

Permalink
Add RSA 1.5 to the supported algorithms.
Browse files Browse the repository at this point in the history
  • Loading branch information
jaimeperez committed Feb 26, 2018
1 parent 28448b8 commit 62becfe
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/SAML2/Utils.php
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,7 @@ public static function castKey(XMLSecurityKey $key, $algorithm, $type = 'public'
}

if (!in_array($algorithm, array(
XMLSecurityKey::RSA_1_5,
XMLSecurityKey::RSA_SHA1,
XMLSecurityKey::RSA_SHA256,
XMLSecurityKey::RSA_SHA384,
Expand Down

0 comments on commit 62becfe

Please sign in to comment.