blob: bbb1638be4d138a65330b8bd3f716ff319312882 [file] [log] [blame]
// Copyright 2017 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "device/fido/attestation_statement.h"
#include <string>
#include <utility>
namespace device {
AttestationStatement::~AttestationStatement() = default;
AttestationStatement::AttestationStatement(std::string format)
: format_(std::move(format)) {}
NoneAttestationStatement::NoneAttestationStatement()
: AttestationStatement("none") {}
NoneAttestationStatement::~NoneAttestationStatement() = default;
cbor::CBORValue::MapValue NoneAttestationStatement::GetAsCBORMap() {
return cbor::CBORValue::MapValue();
}
} // namespace device