summaryrefslogtreecommitdiff
path: root/metadata/xslt/sign-luna-sha256.xsl
diff options
context:
space:
mode:
authorBjörn Mattsson <bjorn@sunet.se>2023-11-06 15:12:20 +0100
committerBjörn Mattsson <bjorn@sunet.se>2023-11-06 15:12:20 +0100
commita9fa6d5551f047e976e624c1b6cc82e8c4fbb76d (patch)
treef8c0f59a36ae572e3f67045435b27e15bf9d0b44 /metadata/xslt/sign-luna-sha256.xsl
parentb4f5e684ecb318e10735414c683787d435bae7a5 (diff)
Cleaning up old files left after we stopped signing on mds1/2. Done by Bjorn and Jocarmd-2023-11-06-v02
Diffstat (limited to 'metadata/xslt/sign-luna-sha256.xsl')
-rw-r--r--metadata/xslt/sign-luna-sha256.xsl48
1 files changed, 0 insertions, 48 deletions
diff --git a/metadata/xslt/sign-luna-sha256.xsl b/metadata/xslt/sign-luna-sha256.xsl
deleted file mode 100644
index 293bb96d..00000000
--- a/metadata/xslt/sign-luna-sha256.xsl
+++ /dev/null
@@ -1,48 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<xsl:stylesheet version="1.0"
- xmlns:md="urn:oasis:names:tc:SAML:2.0:metadata"
- xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xmlns:xs="http://www.w3.org/2001/XMLSchema"
- xmlns:ds="http://www.w3.org/2000/09/xmldsig#"
- xmlns:exsl="http://exslt.org/common"
- xmlns:mdrpi="urn:oasis:names:tc:SAML:metadata:rpi"
- extension-element-prefixes="exsl"
- xmlns:shibmd="urn:mace:shibboleth:metadata:1.0">
-
- <xsl:output method="xml" indent="yes" encoding="UTF-8"/>
-
- <xsl:template match="/md:EntitiesDescriptor">
- <md:EntitiesDescriptor>
- <xsl:apply-templates select="@*|text()|comment()"/>
- <ds:Signature>
- <ds:SignedInfo>
- <ds:CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315" />
- <ds:SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256" />
- <ds:Reference>
- <xsl:attribute name="URI"><xsl:text>#</xsl:text><xsl:value-of select="@ID"/></xsl:attribute>
- <ds:Transforms>
- <ds:Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"/>
- <ds:Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"/>
- </ds:Transforms>
- <ds:DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256" />
- <ds:DigestValue></ds:DigestValue>
- </ds:Reference>
- </ds:SignedInfo>
- <ds:SignatureValue/>
- </ds:Signature>
- <xsl:apply-templates/>
- </md:EntitiesDescriptor>
- </xsl:template>
-
- <xsl:template match="text()|comment()|@*">
- <xsl:copy/>
- </xsl:template>
-
- <xsl:template match="*">
- <xsl:copy>
- <xsl:apply-templates select="node()|@*"/>
- </xsl:copy>
- </xsl:template>
-
-</xsl:stylesheet>