| | 1 | | // Copyright (c) Microsoft Corporation. All rights reserved. |
| | 2 | | // Licensed under the MIT License. See License.txt in the project root for |
| | 3 | | // license information. |
| | 4 | |
|
| | 5 | | namespace Microsoft.Azure.KeyVault.Models |
| | 6 | | { |
| | 7 | | using System.Collections.Generic; |
| | 8 | |
|
| | 9 | | /// <summary> |
| | 10 | | /// Describes parameters used for creation of a new cryptographic key. |
| | 11 | | /// </summary> |
| | 12 | | public class NewKeyParameters |
| | 13 | | { |
| | 14 | | /// <summary> |
| | 15 | | /// Gets or sets the desired JsonWebKey key type. Possible values include: 'EC', 'EC-HSM', 'RSA', 'RSA-HSM', 'oc |
| | 16 | | /// </summary> |
| 16 | 17 | | public string Kty { get; set; } |
| | 18 | |
|
| | 19 | | /// <summary> |
| | 20 | | /// Gets or sets the name of desired curve for used with Elliptic Curve Cryptography (ECC) algorithms. |
| | 21 | | /// </summary> |
| 16 | 22 | | public string CurveName { get; set; } |
| | 23 | |
|
| | 24 | | /// <summary> |
| | 25 | | /// Gets or sets the desired key size. |
| | 26 | | /// </summary> |
| 0 | 27 | | public int? KeySize { get; set; } |
| | 28 | |
|
| | 29 | | /// <summary> |
| | 30 | | /// Gets or sets the desired operations that the key will support. |
| | 31 | | /// </summary> |
| 16 | 32 | | public IList<string> KeyOps { get; set; } |
| | 33 | |
|
| | 34 | | /// <summary> |
| | 35 | | /// Gets or sets the desired key management attributes. |
| | 36 | | /// </summary> |
| 0 | 37 | | public KeyAttributes Attributes { get; set; } |
| | 38 | |
|
| | 39 | | /// <summary> |
| | 40 | | /// Gets or sets application specific metadata in the form of key-value pairs. |
| | 41 | | /// </summary> |
| 0 | 42 | | public IDictionary<string, string> Tags { get; set; } |
| | 43 | | } |
| | 44 | | } |