From aac94f884f894f407d489f73f3db439fd7933c2d Mon Sep 17 00:00:00 2001 From: Olav Morken <olav.morken@uninett.no> Date: Wed, 21 Apr 2010 12:55:48 +0000 Subject: [PATCH] SAMLParser: Remove unused function validateCA(). git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@2259 44740490-163a-0410-bde0-09ae8108e29a --- lib/SimpleSAML/Metadata/SAMLParser.php | 21 --------------------- 1 file changed, 21 deletions(-) diff --git a/lib/SimpleSAML/Metadata/SAMLParser.php b/lib/SimpleSAML/Metadata/SAMLParser.php index 8654aac3c..19aeeabe8 100644 --- a/lib/SimpleSAML/Metadata/SAMLParser.php +++ b/lib/SimpleSAML/Metadata/SAMLParser.php @@ -1460,27 +1460,6 @@ class SimpleSAML_Metadata_SAMLParser { return $ret; } - - /** - * Validate the EntityDescriptor against a CA. - * - * @param $caFile A file with trusted certificates, in PEM format. - * @return TRUE if this CA can validate the EntityDescriptor, FALSE if not. - */ - public function validateCA($caFile) { - - foreach($this->validator as $validator) { - try { - $validator->validateCA($caFile); - return TRUE; - } catch(Exception $e) { - /* Validation with this validator failed. */ - } - } - - return FALSE; - } - } ?> \ No newline at end of file -- GitLab