Edit

WEBAUTHN_CTAPCBOR_ECC_PUBLIC_KEY structure (webauthnplugin.h)

Represents an elliptic-curve public key used in CTAP CBOR extensions.

Syntax

typedef struct _WEBAUTHN_CTAPCBOR_ECC_PUBLIC_KEY {
  DWORD dwVersion;
  LONG  lKty;
  LONG  lAlg;
  LONG  lCrv;
  DWORD cbX;
  PBYTE pbX;
  DWORD cbY;
  PBYTE pbY;
} WEBAUTHN_CTAPCBOR_ECC_PUBLIC_KEY, *PWEBAUTHN_CTAPCBOR_ECC_PUBLIC_KEY;

Members

dwVersion

The version of this structure.

lKty

The COSE key type.

lAlg

The COSE algorithm identifier, such as ES256, ES384, or ES512.

lCrv

The elliptic-curve identifier.

cbX

The size, in bytes, of the X coordinate pointed to by pbX.

pbX

A pointer to the big-endian X coordinate bytes.

cbY

The size, in bytes, of the Y coordinate pointed to by pbY.

pbY

A pointer to the big-endian Y coordinate bytes.

Remarks

Use this structure with CTAP HMAC-salt extension data.

Requirements

Requirement Value
Header webauthnplugin.h

See also

WEBAUTHN_CTAPCBOR_HMAC_SALT_EXTENSION