From ce9c4077c5ea8898eb2480c7c251c27418bf9e53 Mon Sep 17 00:00:00 2001
From: Olav Morken <olav.morken@uninett.no>
Date: Wed, 21 Apr 2010 12:55:56 +0000
Subject: [PATCH] SAMLParser: Remove unused function getX509Certificates().

git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@2260 44740490-163a-0410-bde0-09ae8108e29a
---
 lib/SimpleSAML/Metadata/SAMLParser.php | 23 -----------------------
 1 file changed, 23 deletions(-)

diff --git a/lib/SimpleSAML/Metadata/SAMLParser.php b/lib/SimpleSAML/Metadata/SAMLParser.php
index 19aeeabe8..6608dbadf 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
-- 
GitLab