Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Encodes a getAssertion response as CTAP CBOR.
Syntax
HRESULT WebAuthNEncodeGetAssertionResponse(
PCWEBAUTHN_CTAPCBOR_GET_ASSERTION_RESPONSE pGetAssertionResponse,
DWORD *pcbResp,
BYTE **ppbResp
);
Parameters
pGetAssertionResponse
A pointer to a WEBAUTHN_CTAPCBOR_GET_ASSERTION_RESPONSE structure to encode.
pcbResp
Receives the size, in bytes, of the encoded response buffer returned in ppbResp.
ppbResp
When this function returns successfully, contains a pointer to the encoded response buffer.
Return value
If the function succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Remarks
Use this helper when an IPluginAuthenticator::GetAssertion implementation needs to return a CTAP CBOR-encoded getAssertion response.
Requirements
| Requirement | Value |
|---|---|
| Header | webauthnplugin.h |
| Library | WebAuthnPlugin.Lib |
| DLL | WebAuthnPlugin.dll |