summaryrefslogtreecommitdiffstats
path: root/base/nss_util_internal.h
blob: b3ed33f0ae25d9d4e9d20d114bfc30df6d3e4437 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
// Copyright (c) 2010 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.

#ifndef BASE_NSS_SLOT_UTIL_H_
#define BASE_NSS_SLOT_UTIL_H_

#include <secmodt.h>

// These functions return a type defined in an NSS header, and so cannot be
// declared in nss_util.h.  Hence, they are declared here.

namespace base {

// Returns a reference to the default NSS key slot. Caller must release
// reference with PK11_FreeSlot.
PK11SlotInfo* GetDefaultNSSKeySlot();

}  // namespace base

#endif  // BASE_NSS_UTIL_H_