blob: 6b44dcba3de10a53adcf05d26a685fa0c56ec890 [file] [log] [blame]
Michael Ershov1c50ac952020-12-02 21:01:171// Copyright 2020 The Chromium Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5#ifndef CRYPTO_CHAPS_SUPPORT_H_
6#define CRYPTO_CHAPS_SUPPORT_H_
7
8#include <secmodt.h>
9
10#include "crypto/crypto_export.h"
11
12namespace crypto {
13
14// Loads chaps module for this NSS session.
15CRYPTO_EXPORT SECMODModule* LoadChaps();
16
17// Returns true if chaps is the module to which |slot| is attached.
18CRYPTO_EXPORT bool IsSlotProvidedByChaps(PK11SlotInfo* slot);
19
20} // namespace crypto
21
22#endif // CRYPTO_CHAPS_SUPPORT_H_