wauthn_authenticator_attestation_response_s *response;
wauthn_authenticator_attachment_e authenticator_attachment;
wauthn_authentication_exts_s *extensions;
- wauthn_const_buffer_s *json_data;
wauthn_hybrid_linked_data_s *linked_device;
} wauthn_pubkey_credential_attestaion_s;
wauthn_authenticator_assertion_response_s *response;
wauthn_authenticator_attachment_e authenticator_attachment;
wauthn_authentication_exts_s *extensions;
- wauthn_const_buffer_s *json_data;
wauthn_hybrid_linked_data_s *linked_device;
} wauthn_pubkey_credential_assertion_s;
serialize(stream, data->rawId);
serialize(stream, data->response);
serialize(stream, data->extensions);
- serialize(stream, data->json_data);
serialize(stream, data->linked_device);
}
void WAuthnCtypeSerializer::deserialize(IStream& stream, wauthn_pubkey_credential_attestaion_s** data) {
deserialize(stream, &((*data)->rawId));
deserialize(stream, &((*data)->response));
deserialize(stream, &((*data)->extensions));
- deserialize(stream, &((*data)->json_data));
deserialize(stream, &((*data)->linked_device));
}
serialize(stream, data->rawId);
serialize(stream, data->response);
serialize(stream, data->extensions);
- serialize(stream, data->json_data);
serialize(stream, data->linked_device);
}
void WAuthnCtypeSerializer::deserialize(IStream& stream, wauthn_pubkey_credential_assertion_s** data) {
deserialize(stream, &((*data)->rawId));
deserialize(stream, &((*data)->response));
deserialize(stream, &((*data)->extensions));
- deserialize(stream, &((*data)->json_data));
deserialize(stream, &((*data)->linked_device));
}
nullptr, UVR_NONE, nullptr, AP_NONE, nullptr, nullptr, nullptr};
wauthn_pubkey_credential_attestaion_s pubkeyCredentialAttestation = {&bufferId, pubkeyCredType, &bufferId0,
- &authenticatorAttestationResponse, attachment, &authenticationExts2, &buffer1, &hybirdLinkedData};
+ &authenticatorAttestationResponse, attachment, &authenticationExts2, &hybirdLinkedData};
wauthn_pubkey_credential_attestaion_s emptyPubkeyCredentialAttestation = {nullptr, pubkeyCredType, nullptr,
- nullptr, attachment, nullptr, nullptr, nullptr};
+ nullptr, attachment, nullptr, nullptr};
wauthn_pubkey_credential_assertion_s pubkeyCredentialAssertion = {&bufferId, pubkeyCredType, &bufferId0,
- &authenticatorAssertionResponse, attachment, &authenticationExts2, &buffer1, &hybirdLinkedData};
+ &authenticatorAssertionResponse, attachment, &authenticationExts2, &hybirdLinkedData};
wauthn_pubkey_credential_assertion_s emptyPubkeyCredentialAssertion = {nullptr, pubkeyCredType, nullptr,
- nullptr, attachment, nullptr, nullptr, nullptr};
+ nullptr, attachment, nullptr, nullptr};
wauthn_hash_algorithm_e hashAlg = WAUTHN_HASH_ALGORITHM_SHA_256;
wauthn_client_data_s clientData = {&bufferId, hashAlg};
return false;
if(__compareWAuthnAuthenticationExtsS(expected->extensions, actual->extensions) == false)
return false;
- if(__compareWAuthnBuffers(expected->json_data, actual->json_data) == false)
- return false;
if(__compareWAuthnHybridLinkedDataS(expected->linked_device, actual->linked_device) == false)
return false;
return true;
return false;
if(__compareWAuthnAuthenticationExtsS(expected->extensions, actual->extensions) == false)
return false;
- if(__compareWAuthnBuffers(expected->json_data, actual->json_data) == false)
- return false;
if(__compareWAuthnHybridLinkedDataS(expected->linked_device, actual->linked_device) == false)
return false;
return true;
nullptr, UVR_NONE, nullptr, AP_NONE, nullptr, nullptr, nullptr};
wauthn_pubkey_credential_attestaion_s pubkeyCredentialAttestation = {&bufferId, pubkeyCredType, &bufferId0,
- &authenticatorAttestationResponse, attachment, &authenticationExts2, &buffer1, &hybirdLinkedData};
+ &authenticatorAttestationResponse, attachment, &authenticationExts2, &hybirdLinkedData};
wauthn_pubkey_credential_attestaion_s emptyPubkeyCredentialAttestation = {nullptr, pubkeyCredType, nullptr,
- nullptr, attachment, nullptr, nullptr, nullptr};
+ nullptr, attachment, nullptr, nullptr};
wauthn_pubkey_credential_assertion_s pubkeyCredentialAssertion = {&bufferId, pubkeyCredType, &bufferId0,
- &authenticatorAssertionResponse, attachment, &authenticationExts2, &buffer1, &hybirdLinkedData};
+ &authenticatorAssertionResponse, attachment, &authenticationExts2, &hybirdLinkedData};
wauthn_pubkey_credential_assertion_s emptyPubkeyCredentialAssertion = {nullptr, pubkeyCredType, nullptr,
- nullptr, attachment, nullptr, nullptr, nullptr};
+ nullptr, attachment, nullptr, nullptr};
wauthn_hash_algorithm_e hashAlg = WAUTHN_HASH_ALGORITHM_SHA_256;
wauthn_client_data_s clientData = {&bufferId, hashAlg};