diff --git a/lib/SimpleSAML/Metadata/SAMLParser.php b/lib/SimpleSAML/Metadata/SAMLParser.php
index 8654aac3c62f85566f221018c228ab4613849a8b..19aeeabe8fa547b5e3d66ea4f2d79c153bed4033 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