forked from ibm-openbmc/phosphor-certificate-manager
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.h.in
26 lines (18 loc) · 1014 Bytes
/
config.h.in
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#pragma once
#include <cstddef>
/* The prefix of the DBus busname to own */
inline constexpr char busNamePrefix[] = "xyz.openbmc_project.Certs.Manager";
/* The prefix of the certificate manager DBus object name */
inline constexpr char objectNamePrefix[] = "/xyz/openbmc_project/certs";
/* The default name of the CSR file */
inline constexpr char defaultCSRFileName[] = "domain.csr";
/* The default name of the private key file. */
inline constexpr char defaultPrivateKeyFileName[] = "privkey.pem";
/* The default name of the rsa private key file. */
inline constexpr char defaultRSAPrivateKeyFileName[] = ".rsaprivkey.pem";
/* The maximum number of Authority certificates the service allows. */
inline constexpr size_t maxNumAuthorityCertificates = @authority_limit@;
/* The default name of the authorities list file. */
inline constexpr char defaultAuthoritiesListFileName[] = "@authorities_list_name@";
/* Whether to allow expired certificates. */
inline constexpr bool allowExpired = @allow_expired@;