diff --git a/lib/SimpleSAML/Metadata/SAMLParser.php b/lib/SimpleSAML/Metadata/SAMLParser.php
index 19aeeabe8fa547b5e3d66ea4f2d79c153bed4033..6608dbadfea2a4f54d5468b9cd582a4ef02b571d 100644
--- a/lib/SimpleSAML/Metadata/SAMLParser.php
+++ b/lib/SimpleSAML/Metadata/SAMLParser.php
@@ -1437,29 +1437,6 @@ class SimpleSAML_Metadata_SAMLParser {
 		return FALSE;
 	}
 
-
-	/**
-	 * Retrieve the X509 certificate(s) which was used to sign the metadata.
-	 *
-	 * This function will return all X509 certificates which validates this entity.
-	 * The certificates will be returned as an array with strings with PEM-encoded certificates.
-	 *
-	 * @return  Array with PEM-encoded certificates. This may be an empty array if no
-	 *          certificates sign this entity.
-	 */
-	public function getX509Certificates() {
-		$ret = array();
-
-		foreach($this->validator as $validator) {
-			$cert = $validator->getX509Certificate();
-			if($cert !== NULL) {
-				$ret[] = $cert;
-			}
-		}
-
-		return $ret;
-	}
-
 }
 
 ?>
\ No newline at end of file