< Summary

Class:Microsoft.Azure.KeyVault.Cryptography.Algorithms.Es512
Assembly:Microsoft.Azure.KeyVault.Cryptography
File(s):C:\Git\azure-sdk-for-net\sdk\keyvault\Microsoft.Azure.KeyVault.Cryptography\src\Algorithms\Es512.cs
Covered lines:3
Uncovered lines:0
Coverable lines:3
Total lines:27
Line coverage:100% (3 of 3)
Covered branches:0
Total branches:0

Metrics

MethodCyclomatic complexity Line coverage Branch coverage
.ctor()-100%100%
CreateSignatureTransform(...)-100%100%

File(s)

C:\Git\azure-sdk-for-net\sdk\keyvault\Microsoft.Azure.KeyVault.Cryptography\src\Algorithms\Es512.cs

#LineLine coverage
 1//
 2// Copyright (c) Microsoft Corporation. All rights reserved.
 3// Licensed under the MIT License. See License.txt in the project root for
 4// license information.
 5//
 6
 7using System.Security.Cryptography;
 8
 9namespace Microsoft.Azure.KeyVault.Cryptography.Algorithms
 10{
 11    /// <summary>
 12    /// Represents ECDSA with curve P-521 from NIST.
 13    /// </summary>
 14    public class Es512 : Ecdsa
 15    {
 16        public const string AlgorithmName = "ES512";
 17
 218        public Es512() : base( AlgorithmName )
 19        {
 220        }
 21
 22        public override ISignatureTransform CreateSignatureTransform( AsymmetricAlgorithm key )
 23        {
 1624            return CreateSignatureTransform( key, AlgorithmName );
 25        }
 26    }
 27}