From ebf438e7b727b39c479a123768b01aa8e59e5495 Mon Sep 17 00:00:00 2001 From: Olav Morken <olav.morken@uninett.no> Date: Tue, 11 Aug 2009 14:15:43 +0000 Subject: [PATCH] saml2_Message: Mark the addSign and checkSign methods as public. git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@1648 44740490-163a-0410-bde0-09ae8108e29a --- modules/saml2/lib/Message.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/saml2/lib/Message.php b/modules/saml2/lib/Message.php index 31a4c2091..5ab009571 100644 --- a/modules/saml2/lib/Message.php +++ b/modules/saml2/lib/Message.php @@ -37,7 +37,7 @@ class sspmod_saml2_Message { * @param SimpleSAML_Configuration $dstMetadata The metadata of the recipient. * @param SAML2_Message $element The element we should add the data to. */ - private static function addSign(SimpleSAML_Configuration $srcMetadata, SimpleSAML_Configuration $dstMetadata, SAML2_SignedElement $element) { + public static function addSign(SimpleSAML_Configuration $srcMetadata, SimpleSAML_Configuration $dstMetadata, SAML2_SignedElement $element) { $srcMetadata = $srcMetadata->toArray(); @@ -127,7 +127,7 @@ class sspmod_saml2_Message { * @param SimpleSAML_Configuration $srcMetadata The metadata of the sender. * @param SAML2_SignedElement $element Either a SAML2_Response or a SAML2_Assertion. */ - private static function checkSign(SimpleSAML_Configuration $srcMetadata, SAML2_SignedElement $element) { + public static function checkSign(SimpleSAML_Configuration $srcMetadata, SAML2_SignedElement $element) { $certificates = $element->getCertificates(); SimpleSAML_Logger::debug('Found ' . count($certificates) . ' certificates in ' . get_class($element)); -- GitLab