blob: daef738a4f3d6bb44a3eae7047701edec577d94c [file] [log] [blame]
// Copyright 2021 The Chromium OS Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CHAPS_SLOT_POLICY_SHARED_SLOT_H_
#define CHAPS_SLOT_POLICY_SHARED_SLOT_H_
#include "chaps/slot_policy.h"
namespace chaps {
class SlotPolicySharedSlot : public SlotPolicy {
public:
SlotPolicySharedSlot();
~SlotPolicySharedSlot() override;
bool IsObjectClassAllowedForNewObject(CK_OBJECT_CLASS object_class) override;
bool IsObjectClassAllowedForImportedObject(
CK_OBJECT_CLASS object_class) override;
};
} // namespace chaps
#endif // CHAPS_SLOT_POLICY_SHARED_SLOT_H_