Revision: 2259
Author: olavmrk
Date: Wed Apr 21 05:55:48 2010
Log: SAMLParser: Remove unused function validateCA().
http://code.google.com/p/simplesamlphp/source/detail?r=2259

Modified:
 /trunk/lib/SimpleSAML/Metadata/SAMLParser.php

=======================================
--- /trunk/lib/SimpleSAML/Metadata/SAMLParser.php       Thu Feb 11 23:25:04 2010
+++ /trunk/lib/SimpleSAML/Metadata/SAMLParser.php       Wed Apr 21 05:55:48 2010
@@ -1459,27 +1459,6 @@

                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;
-       }

 }

--
You received this message because you are subscribed to the Google Groups 
"simpleSAMLphp commits" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/simplesamlphp-commits?hl=en.

Reply via email to