Patrick Williams | bb939ea | 2021-12-03 15:41:02 -0600 | [diff] [blame] | 1 | #pragma once |
Nan Zhou | 718eef3 | 2021-12-28 11:03:30 -0800 | [diff] [blame] | 2 | #include <cstddef> |
Patrick Williams | bb939ea | 2021-12-03 15:41:02 -0600 | [diff] [blame] | 3 | |
Nan Zhou | 718eef3 | 2021-12-28 11:03:30 -0800 | [diff] [blame] | 4 | /* The prefix of the DBus busname to own */ |
| 5 | inline constexpr char busNamePrefix[] = "xyz.openbmc_project.Certs.Manager"; |
Patrick Williams | bb939ea | 2021-12-03 15:41:02 -0600 | [diff] [blame] | 6 | |
Nan Zhou | 718eef3 | 2021-12-28 11:03:30 -0800 | [diff] [blame] | 7 | /* The prefix of the certificate manager DBus object name */ |
| 8 | inline constexpr char objectNamePrefix[] = "/xyz/openbmc_project/certs"; |
Patrick Williams | bb939ea | 2021-12-03 15:41:02 -0600 | [diff] [blame] | 9 | |
Nan Zhou | 718eef3 | 2021-12-28 11:03:30 -0800 | [diff] [blame] | 10 | /* The default name of the CSR file */ |
| 11 | inline constexpr char defaultCSRFileName[] = "domain.csr"; |
Patrick Williams | bb939ea | 2021-12-03 15:41:02 -0600 | [diff] [blame] | 12 | |
Nan Zhou | 718eef3 | 2021-12-28 11:03:30 -0800 | [diff] [blame] | 13 | /* The default name of the private key file. */ |
| 14 | inline constexpr char defaultPrivateKeyFileName[] = "privkey.pem"; |
Patrick Williams | bb939ea | 2021-12-03 15:41:02 -0600 | [diff] [blame] | 15 | |
Nan Zhou | 718eef3 | 2021-12-28 11:03:30 -0800 | [diff] [blame] | 16 | /* The default name of the rsa private key file. */ |
| 17 | inline constexpr char defaultRSAPrivateKeyFileName[] = ".rsaprivkey.pem"; |
Patrick Williams | bb939ea | 2021-12-03 15:41:02 -0600 | [diff] [blame] | 18 | |
Nan Zhou | 718eef3 | 2021-12-28 11:03:30 -0800 | [diff] [blame] | 19 | /* The maximum number of Authority certificates the service allows. */ |
| 20 | inline constexpr size_t maxNumAuthorityCertificates = @authority_limit@; |