CreateEcKeyOptions interface

An interface representing the optional parameters that can be passed to <xref:createEcKey>

Extends

Properties

abortSignal

The signal which can be used to abort requests.

curve

Elliptic curve name. For valid values, see KeyCurveName. Possible values include: 'P-256', 'P-384', 'P-521', 'P-256K'

enabled

Determines whether the object is enabled.

expiresOn

Expiry date in UTC.

hsm

Whether to import as a hardware key (HSM) or software key.

keyOps

Json web key operations. For more information on possible key operations, see KeyOperation.

keySize

Size of the key

notBefore

Not before date in UTC.

requestOptions

Options used when creating and sending HTTP requests for this operation.

tags

Application specific metadata in the form of key-value pairs.

tracingOptions

Options used when tracing is enabled.

Property Details

abortSignal

The signal which can be used to abort requests.

abortSignal?: AbortSignalLike

Property Value

AbortSignalLike

curve

Elliptic curve name. For valid values, see KeyCurveName. Possible values include: 'P-256', 'P-384', 'P-521', 'P-256K'

curve?: KeyCurveName

Property Value

enabled

Determines whether the object is enabled.

enabled?: boolean

Property Value

boolean

expiresOn

Expiry date in UTC.

expiresOn?: Date

Property Value

Date

hsm

Whether to import as a hardware key (HSM) or software key.

hsm?: boolean

Property Value

boolean

keyOps

Json web key operations. For more information on possible key operations, see KeyOperation.

keyOps?: KeyOperation[]

Property Value

keySize

Size of the key

keySize?: number

Property Value

number

notBefore

Not before date in UTC.

notBefore?: Date

Property Value

Date

requestOptions

Options used when creating and sending HTTP requests for this operation.

requestOptions?: OperationRequestOptions

Property Value

OperationRequestOptions

tags

Application specific metadata in the form of key-value pairs.

tags?: [key: string]: string

Property Value

[key: string]: string

tracingOptions

Options used when tracing is enabled.

tracingOptions?: OperationTracingOptions

Property Value

OperationTracingOptions