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 makeCredential request.
Syntax
HRESULT WebAuthNDecodeMakeCredentialRequest(
DWORD cbEncoded,
const BYTE *pbEncoded,
PWEBAUTHN_CTAPCBOR_MAKE_CREDENTIAL_REQUEST *ppMakeCredentialRequest
);
Parameters
cbEncoded
The size, in bytes, of the buffer pointed to by pbEncoded.
pbEncoded
A pointer to the encoded makeCredential request buffer.
ppMakeCredentialRequest
When this function returns successfully, contains a pointer to a WEBAUTHN_CTAPCBOR_MAKE_CREDENTIAL_REQUEST structure. Free this value with WebAuthNFreeDecodedMakeCredentialRequest.
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::MakeCredential implementation.
Requirements
| Requirement | Value |
|---|---|
| Header | webauthnplugin.h |
| Library | WebAuthnPlugin.Lib |
| DLL | WebAuthnPlugin.dll |