diff options
Diffstat (limited to 'modules/saml/lib/Message.php')
-rw-r--r-- | modules/saml/lib/Message.php | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/modules/saml/lib/Message.php b/modules/saml/lib/Message.php index 6e36d36..1e85687 100644 --- a/modules/saml/lib/Message.php +++ b/modules/saml/lib/Message.php @@ -21,11 +21,11 @@ class sspmod_saml_Message { $dstPrivateKey = $dstMetadata->getString('signature.privatekey', NULL); if ($dstPrivateKey !== NULL) { - $keyArray = SimpleSAML_Utils_Crypto::loadPrivateKey($dstMetadata, TRUE, 'signature.'); - $certArray = SimpleSAML_Utils_Crypto::loadPublicKey($dstMetadata, FALSE, 'signature.'); + $keyArray = SimpleSAML\Utils\Crypto::loadPrivateKey($dstMetadata, TRUE, 'signature.'); + $certArray = SimpleSAML\Utils\Crypto::loadPublicKey($dstMetadata, FALSE, 'signature.'); } else { - $keyArray = SimpleSAML_Utils_Crypto::loadPrivateKey($srcMetadata, TRUE); - $certArray = SimpleSAML_Utils_Crypto::loadPublicKey($srcMetadata, FALSE); + $keyArray = SimpleSAML\Utils\Crypto::loadPrivateKey($srcMetadata, TRUE); + $certArray = SimpleSAML\Utils\Crypto::loadPublicKey($srcMetadata, FALSE); } $algo = $dstMetadata->getString('signature.algorithm', NULL); @@ -281,7 +281,7 @@ class sspmod_saml_Message { $keys = array(); /* Load the new private key if it exists. */ - $keyArray = SimpleSAML_Utils_Crypto::loadPrivateKey($dstMetadata, FALSE, 'new_'); + $keyArray = SimpleSAML\Utils\Crypto::loadPrivateKey($dstMetadata, FALSE, 'new_'); if ($keyArray !== NULL) { assert('isset($keyArray["PEM"])'); @@ -294,7 +294,7 @@ class sspmod_saml_Message { } /* Find the existing private key. */ - $keyArray = SimpleSAML_Utils_Crypto::loadPrivateKey($dstMetadata, TRUE); + $keyArray = SimpleSAML\Utils\Crypto::loadPrivateKey($dstMetadata, TRUE); assert('isset($keyArray["PEM"])'); $key = new XMLSecurityKey(XMLSecurityKey::RSA_1_5, array('type'=>'private')); |