// Copyright 2017 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef DEVICE_FIDO_PUBLIC_KEY_CREDENTIAL_PARAMS_H_ #define DEVICE_FIDO_PUBLIC_KEY_CREDENTIAL_PARAMS_H_ #include <optional> #include <string> #include <tuple> #include <vector> #include "base/component_export.h" #include "base/numerics/safe_conversions.h" #include "components/cbor/values.h" #include "device/fido/fido_constants.h" namespace device { // Data structure containing public key credential type(string) and // cryptographic algorithm(integer) as specified by the CTAP spec. Used as a // request parameter for AuthenticatorMakeCredential. class COMPONENT_EXPORT(DEVICE_FIDO) PublicKeyCredentialParams { … }; cbor::Value AsCBOR(const PublicKeyCredentialParams&); } // namespace device #endif // DEVICE_FIDO_PUBLIC_KEY_CREDENTIAL_PARAMS_H_