Edit

WebAuthNPluginGetUserVerificationPublicKey function (webauthnplugin.h)

Gets the public key associated with plugin user verification.

Syntax

HRESULT WebAuthNPluginGetUserVerificationPublicKey(
  REFCLSID rclsid,
  DWORD    *pcbPublicKey,
  PBYTE    *ppbPublicKey
);

Parameters

rclsid

The class identifier of the registered plugin authenticator.

pcbPublicKey

Receives the size, in bytes, of the buffer returned in ppbPublicKey.

ppbPublicKey

When this function returns successfully, contains a pointer to the public-key buffer. Free this buffer with WebAuthNPluginFreePublicKeyResponse.

Return value

If the function succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Remarks

Use this function to retrieve the public key that Windows associates with user-verification operations for the specified plugin authenticator.

Requirements

Requirement Value
Header webauthnplugin.h
Library WebAuthnPlugin.Lib
DLL WebAuthnPlugin.dll

See also

WebAuthNPluginFreePublicKeyResponse