Delen via


KeyCreateParameters Class

Definition

The key create parameters.

public class KeyCreateParameters
type KeyCreateParameters = class
Public Class KeyCreateParameters
Inheritance
KeyCreateParameters

Constructors

KeyCreateParameters()

Initializes a new instance of the KeyCreateParameters class.

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

Initializes a new instance of the KeyCreateParameters class.

Properties

Curve

Gets or sets elliptic curve name. For valid values, see JsonWebKeyCurveName. Possible values include: 'P-256', 'P-384', 'P-521', 'SECP256K1'

KeyAttributes
KeyOps
KeySize

Gets or sets the key size in bytes. For example, 1024 or 2048.

Kty

Gets or sets the type of key to create. For valid values, see JsonWebKeyType. Possible values include: 'EC', 'EC-HSM', 'RSA', 'RSA-HSM', 'oct'

Tags

Gets or sets application specific metadata in the form of key-value pairs.

Methods

Validate()

Validate the object.

Applies to