Skip to content

Commit

Permalink
Display number of entities claiming support for GCM encryption.
Browse files Browse the repository at this point in the history
  • Loading branch information
iay committed Apr 3, 2013
1 parent 17ae922 commit 3a1e413
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions mdx/uk/statistics.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -1380,6 +1380,21 @@
</li>
</xsl:if>

<xsl:variable name="e.gcm" select="$entities[
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="e.gcm.count" select="count($e.gcm)"/>
<xsl:if test="$e.gcm.count != 0">
<li>
<p>
<xsl:value-of select="$e.gcm.count"/>
(<xsl:value-of select="format-number($e.gcm.count div $entityCount, '0.0%')"/>)
support GCM encryption.
</p>
</li>
</xsl:if>

</xsl:template>

<!--
Expand Down

0 comments on commit 3a1e413

Please sign in to comment.