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.
Decodes a CTAP CBOR-encoded getAssertion request.
Syntax
HRESULT WebAuthNDecodeGetAssertionRequest(
DWORD cbEncoded,
const BYTE *pbEncoded,
PWEBAUTHN_CTAPCBOR_GET_ASSERTION_REQUEST *ppGetAssertionRequest
);
Parameters
cbEncoded
The size, in bytes, of the buffer pointed to by pbEncoded.
pbEncoded
A pointer to the encoded getAssertion request buffer.
ppGetAssertionRequest
When this function returns successfully, contains a pointer to a WEBAUTHN_CTAPCBOR_GET_ASSERTION_REQUEST structure. Free this value with WebAuthNFreeDecodedGetAssertionRequest.
Return value
If the function succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Remarks
Use this helper to decode the request payload received by an IPluginAuthenticator::GetAssertion implementation.
Requirements
| Requirement | Value |
|---|---|
| Header | webauthnplugin.h |
| Library | WebAuthnPlugin.Lib |
| DLL | WebAuthnPlugin.dll |