• Public
  • Public/Protected
  • All

Interface CreateEcKeyOptions

Package version


An interface representing the optional parameters that can be passed to createEcKey




Optional abortSignal

abortSignal: AbortSignalLike

The signal which can be used to abort requests.

Optional curve

curve: JsonWebKeyCurveName

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

Optional enabled

enabled: undefined | false | true

Determines whether the object is enabled.

Optional expiresOn

expiresOn: Date

Expiry date in UTC.

Optional hsm

hsm: undefined | false | true

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

Optional keyOps

keyOps: JsonWebKeyOperation[]

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

Optional keySize

keySize: undefined | number

Size of the key

Optional notBefore

notBefore: Date

Not before date in UTC.

Optional requestOptions

requestOptions: OperationRequestOptions

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

Optional tags

tags: undefined | object

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

Optional tracingOptions

tracingOptions: OperationTracingOptions

Options used when tracing is enabled.

Generated using TypeDoc