Skip to content
Snippets Groups Projects
Commit ebf438e7 authored by Olav Morken's avatar Olav Morken
Browse files

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
parent 61481f9e
No related branches found
No related tags found
No related merge requests found
......@@ -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));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment