summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/SimpleSAML/Metadata/SAMLParser.php23
1 files changed, 0 insertions, 23 deletions
diff --git a/lib/SimpleSAML/Metadata/SAMLParser.php b/lib/SimpleSAML/Metadata/SAMLParser.php
index 19aeeab..6608dba 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