C++ Utilities: CppUtilities::SigningKeys Namespace Reference

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

Loading...
Searching...
No Matches
Variables
CppUtilities::SigningKeys Namespace Reference

Contains signing keys for verifying releases via OpenSSL or stsigtool. More...

## Variables
constexpr auto | stsigtool
constexpr auto | openssl

## Detailed Description

Contains signing keys for verifying releases via OpenSSL or stsigtool.

Remarks
  - Check out the header file verification.h which contains the function verifySignature() for verification with OpenSSL.
  - Check out the Syncthing library contained in Syncthing Tray for verification with stsigtool.
  - The arrays may contain more than one key, e.g. when rotatiung keys and an old key is in progress of being phased out.
  - The concrete type of the contained key variables will change when the number of keys changes. So do not use it in e.g. a function signature or member variable that will become part of some public API/ABI. The variable is mereley supposed to be passed to verifySignature().
  - This namespace is experimental and its members might be changed in incompatible ways (API and ABI wise) or be completely removed in further minor/patch releases.

## Variable Documentation

## ◆ openssl

auto CppUtilities::SigningKeys::openssl
| constexpr

Initial value:
= std::array<std::string_view, 1>{
std::string_view(
R"(-----BEGIN PUBLIC KEY-----
MIGbMBAGByqGSM49AgEGBSuBBAAjA4GGAAQAWJAn1E7ZE5Q6H69oaV5sqCIppJdg
4bXDan9dJv6GOg70/t7q2CvwcwUXhV4FvCZxCHo25+rWYINfqKU2Utul8koAx8tK
59ohfOzI63I+CC76GfX41uRGU0P5i6hS7o/hgBLiVXqT0FgS2BMfmnLMUvUjqnI2
YQM7C55/5BM5Vrblkow=
-----END PUBLIC KEY-----
)")
}

Definition at line 37 of file signingkeys.h.

## ◆ stsigtool

auto CppUtilities::SigningKeys::stsigtool
| constexpr

Initial value:
= std::array<std::string_view, 1>{
std::string_view(
R"(-----BEGIN EC PUBLIC KEY-----
MIGbMBAGByqGSM49AgEGBSuBBAAjA4GGAAQBzGxkQSS43eE4r+A7HjlcEch5apsn
fKOgJWaRE2TOD9dNoBO2RSaJEAzzOXg2BPMsiPdr+Ty99FZtX8fmIcgJHGoB3sE1
PmSOaw3YWAXrHUYslrVRJI4iYCLuT4qjFMHgmqvphEE/zGDZ5Tyu6FwVlSjCO4Yy
FdsjpzKV6nrX6EsK++o=
-----END EC PUBLIC KEY-----
)")
}

Definition at line 26 of file signingkeys.h.