Skip to content

Commit

Permalink
Calculate percentage of SPs which state support for GCM
Browse files Browse the repository at this point in the history
See ukf/ukf-meta#294 for details
  • Loading branch information
Alex Stuart committed Mar 4, 2021
1 parent 3baa959 commit ac84eb0
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions mdx/uk/statistics-charting.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,17 @@
<xsl:text> of SP entities</xsl:text>
<xsl:text>&#10;</xsl:text>

<xsl:variable name="charting.sps.algsupport.gcm"
select="$charting.sps.algsupport[
descendant::md:EncryptionMethod/@Algorithm='http://www.w3.org/2009/xmlenc11#aes128-gcm' or
descendant::md:EncryptionMethod/@Algorithm='http://www.w3.org/2009/xmlenc11#aes192-gcm' or
descendant::md:EncryptionMethod/@Algorithm='http://www.w3.org/2009/xmlenc11#aes256-gcm']"/>
<xsl:variable name="charting.sps.algsupport.gcm.count" select="count($charting.sps.algsupport.gcm)"/>
<xsl:text>GCM support: </xsl:text>
<xsl:value-of select="format-number($charting.sps.algsupport.gcm.count div $spCount, '0.00%')"/>
<xsl:text> of SP entities</xsl:text>
<xsl:text>&#10;</xsl:text>

<xsl:variable name="charting.idp4" select="$idps[
md:Extensions/ukfedlabel:Software[@name='Shibboleth'][@version = '4']
]"/>
Expand Down

0 comments on commit ac84eb0

Please sign in to comment.