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

SAMLParser: Remove unused function validateCA().

git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@2259 44740490-163a-0410-bde0-09ae8108e29a
parent 745afe70
No related branches found
No related tags found
No related merge requests found
...@@ -1460,27 +1460,6 @@ class SimpleSAML_Metadata_SAMLParser { ...@@ -1460,27 +1460,6 @@ class SimpleSAML_Metadata_SAMLParser {
return $ret; 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
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