| | 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 | |
|
| | 7 | | using System.Security.Cryptography; |
| | 8 | |
|
| | 9 | | namespace Microsoft.Azure.KeyVault.Cryptography.Algorithms |
| | 10 | | { |
| | 11 | | /// <summary> |
| | 12 | | /// Represents ECDSA with curve P-384 from NIST. |
| | 13 | | /// </summary> |
| | 14 | | public class Es384 : Ecdsa |
| | 15 | | { |
| | 16 | | public const string AlgorithmName = "ES384"; |
| | 17 | |
|
| 2 | 18 | | public Es384() : base( AlgorithmName ) |
| | 19 | | { |
| 2 | 20 | | } |
| | 21 | |
|
| | 22 | | public override ISignatureTransform CreateSignatureTransform( AsymmetricAlgorithm key ) |
| | 23 | | { |
| 16 | 24 | | return CreateSignatureTransform( key, AlgorithmName ); |
| | 25 | | } |
| | 26 | | } |
| | 27 | | } |