C++ Utilities: misc/signingkeys.h Source File

C++ Utilities 5.34.2 Useful C++ classes and routines such as argument parser, IO and conversion utilities

Loading...
Searching...
No Matches
signingkeys.h
Go to the documentation of this file.
1#ifndef CPP_UTILITIES_MISC_SIGNINGKEYS_H
2#define CPP_UTILITIES_MISC_SIGNINGKEYS_H
3
4#include <array>
5#include <string_view>
6
7namespace CppUtilities {
8
23 namespace SigningKeys {
24
25// clang-format off
26 constexpr auto stsigtool = std::array<std::string_view, 1>{
27std::string_view(
28R"(-----BEGIN EC PUBLIC KEY-----
29MIGbMBAGByqGSM49AgEGBSuBBAAjA4GGAAQBzGxkQSS43eE4r+A7HjlcEch5apsn
30fKOgJWaRE2TOD9dNoBO2RSaJEAzzOXg2BPMsiPdr+Ty99FZtX8fmIcgJHGoB3sE1
31PmSOaw3YWAXrHUYslrVRJI4iYCLuT4qjFMHgmqvphEE/zGDZ5Tyu6FwVlSjCO4Yy
32FdsjpzKV6nrX6EsK++o=
33-----END EC PUBLIC KEY-----
34)")
35};
36
37 constexpr auto openssl = std::array<std::string_view, 1>{
38std::string_view(
39R"(-----BEGIN PUBLIC KEY-----
40MIGbMBAGByqGSM49AgEGBSuBBAAjA4GGAAQAWJAn1E7ZE5Q6H69oaV5sqCIppJdg
414bXDan9dJv6GOg70/t7q2CvwcwUXhV4FvCZxCHo25+rWYINfqKU2Utul8koAx8tK
4259ohfOzI63I+CC76GfX41uRGU0P5i6hS7o/hgBLiVXqT0FgS2BMfmnLMUvUjqnI2
43YQM7C55/5BM5Vrblkow=
44-----END PUBLIC KEY-----
45)")
46};
47// clang-format on
48
49} // namespace SigningKeys
50} // namespace CppUtilities
51
52#endif // CPP_UTILITIES_MISC_SIGNINGKEYS_H
CppUtilities::SigningKeys
Contains signing keys for verifying releases via OpenSSL or stsigtool.
Definition signingkeys.h:23
CppUtilities::SigningKeys::stsigtool
constexpr auto stsigtool
Definition signingkeys.h:26
CppUtilities::SigningKeys::openssl
constexpr auto openssl
Definition signingkeys.h:37
CppUtilities
Contains all utilities provided by the c++utilities library.
Definition argumentparser.h:18