blob: b363fd339b6f7c134ab34bf2fc2613d815b5437d [file] [log] [blame]
Patrick Williamsbb939ea2021-12-03 15:41:02 -06001#pragma once
Nan Zhou718eef32021-12-28 11:03:30 -08002#include <cstddef>
Patrick Williamsbb939ea2021-12-03 15:41:02 -06003
Nan Zhou718eef32021-12-28 11:03:30 -08004/* The prefix of the DBus busname to own */
5inline constexpr char busNamePrefix[] = "xyz.openbmc_project.Certs.Manager";
Patrick Williamsbb939ea2021-12-03 15:41:02 -06006
Nan Zhou718eef32021-12-28 11:03:30 -08007/* The prefix of the certificate manager DBus object name */
8inline constexpr char objectNamePrefix[] = "/xyz/openbmc_project/certs";
Patrick Williamsbb939ea2021-12-03 15:41:02 -06009
Nan Zhou718eef32021-12-28 11:03:30 -080010/* The default name of the CSR file */
11inline constexpr char defaultCSRFileName[] = "domain.csr";
Patrick Williamsbb939ea2021-12-03 15:41:02 -060012
Nan Zhou718eef32021-12-28 11:03:30 -080013/* The default name of the private key file. */
14inline constexpr char defaultPrivateKeyFileName[] = "privkey.pem";
Patrick Williamsbb939ea2021-12-03 15:41:02 -060015
Nan Zhou718eef32021-12-28 11:03:30 -080016/* The default name of the rsa private key file. */
17inline constexpr char defaultRSAPrivateKeyFileName[] = ".rsaprivkey.pem";
Patrick Williamsbb939ea2021-12-03 15:41:02 -060018
Nan Zhou718eef32021-12-28 11:03:30 -080019/* The maximum number of Authority certificates the service allows. */
20inline constexpr size_t maxNumAuthorityCertificates = @authority_limit@;
Nan Zhou6ec13c82021-12-30 11:34:50 -080021
22/* The default name of the authorities list file. */
23inline constexpr char defaultAuthoritiesListFileName[] = "@authorities_list_name@";