]>
Commit | Line | Data |
---|---|---|
1 | /* | |
2 | * Copyright (C) 1996-2018 The Squid Software Foundation and contributors | |
3 | * | |
4 | * Squid software is distributed under GPLv2+ license and includes | |
5 | * contributions from numerous individuals and organizations. | |
6 | * Please see the COPYING and CONTRIBUTORS files for details. | |
7 | */ | |
8 | ||
9 | #ifndef SQUID_SRC_SECURITY_KEYDATA_H | |
10 | #define SQUID_SRC_SECURITY_KEYDATA_H | |
11 | ||
12 | #include "sbuf/SBuf.h" | |
13 | #include "security/forward.h" | |
14 | ||
15 | namespace Security | |
16 | { | |
17 | ||
18 | /// TLS certificate and private key details from squid.conf | |
19 | class KeyData | |
20 | { | |
21 | public: | |
22 | SBuf certFile; ///< path of file containing PEM format X.509 certificate | |
23 | SBuf privateKeyFile; ///< path of file containing private key in PEM format | |
24 | }; | |
25 | ||
26 | } // namespace Security | |
27 | ||
28 | #endif /* SQUID_SRC_SECURITY_KEYDATA_H */ | |
29 |