blob: e03c4997685365dd37796ccc95633f1e949e2b32 [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>
#include "device/fido/fido_constants.h"
namespace device {
AttestationStatement::~AttestationStatement() = default;
AttestationStatement::AttestationStatement(std::string format)
: format_(std::move(format)) {}
NoneAttestationStatement::NoneAttestationStatement()
: AttestationStatement(kNoneAttestationValue) {}
NoneAttestationStatement::~NoneAttestationStatement() = default;
bool NoneAttestationStatement::
IsAttestationCertificateInappropriatelyIdentifying() {
return false;
}
cbor::CBORValue::MapValue NoneAttestationStatement::GetAsCBORMap() const {
return cbor::CBORValue::MapValue();
}
} // namespace device