你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

KeyCreateParameters 构造函数

定义

重载

KeyCreateParameters()

初始化 KeyCreateParameters 类的新实例。

KeyCreateParameters(String, Nullable<Int32>, IList<String>, KeyAttributes, IDictionary<String,String>, String)

初始化 KeyCreateParameters 类的新实例。

KeyCreateParameters()

Source:
KeyCreateParameters.cs

初始化 KeyCreateParameters 类的新实例。

public KeyCreateParameters();
Public Sub New ()

适用于

KeyCreateParameters(String, Nullable<Int32>, IList<String>, KeyAttributes, IDictionary<String,String>, String)

Source:
KeyCreateParameters.cs

初始化 KeyCreateParameters 类的新实例。

public KeyCreateParameters(string kty, int? keySize = default, System.Collections.Generic.IList<string> keyOps = default, Microsoft.Azure.KeyVault.Models.KeyAttributes keyAttributes = default, System.Collections.Generic.IDictionary<string,string> tags = default, string curve = default);
new Microsoft.Azure.KeyVault.Models.KeyCreateParameters : string * Nullable<int> * System.Collections.Generic.IList<string> * Microsoft.Azure.KeyVault.Models.KeyAttributes * System.Collections.Generic.IDictionary<string, string> * string -> Microsoft.Azure.KeyVault.Models.KeyCreateParameters
Public Sub New (kty As String, Optional keySize As Nullable(Of Integer) = Nothing, Optional keyOps As IList(Of String) = Nothing, Optional keyAttributes As KeyAttributes = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional curve As String = Nothing)

参数

kty
String

要创建的密钥类型。 有关有效值,请参阅 JsonWebKeyType。 可能的值包括:“EC”、“EC-HSM”、“RSA”、“RSA-HSM”、“oct”

keySize
Nullable<Int32>

密钥大小(以字节为单位)。 例如,1024 或 2048。

keyOps
IList<String>
keyAttributes
KeyAttributes
tags
IDictionary<String,String>

键/值对形式的应用程序特定元数据。

curve
String

椭圆曲线名称。 有关有效值,请参阅 JsonWebKeyCurveName。 可能的值包括:“P-256”、“P-384”、“P-521”、“SECP256K1”

适用于