|
plugin
2.1.3
Runtime plugin loader and Ed25519 DSO signing for C++ applications
|
Classes | |
| struct | ManifestData |
| struct | ManifestResult |
| class | Manifest |
| struct | VerifyResult |
| class | Verifier |
Enumerations | |
| enum class | TrustLevel { TRUSTED , UNKNOWN , UNSIGNED , REJECTED } |
Functions | |
| const char * | trustLevelName (TrustLevel t) noexcept |
| bool | isSignatureValid (TrustLevel t) noexcept |
| static std::string | hexEncode (const unsigned char *data, std::size_t len) |
| static std::string | sha256File (std::string const &path) |
| static std::string | pubKeyFingerprint (EVP_PKEY *pkey) |
| static std::string | makeStrippedCopy (std::string const &soPath) |
| static EVP_PKEY * | findTrustedKey (std::string const &keysDir, std::string const &keyId) |
| static bool | verifySignature (EVP_PKEY *pkey, std::string const &json, std::array< uint8_t, 64 > const &sig) |
Variables | |
| constexpr std::size_t | ED25519_SIG_BYTES = 64 |
| constexpr char const * | kManifestSection = ".dso_manifest" |
| constexpr char const * | kSigSection = ".dso_sig" |
|
strong |
|
inlinenoexcept |
|
inlinenoexcept |
|
static |
Referenced by pubKeyFingerprint(), pubKeyFingerprint(), sha256File(), and sha256File().
Here is the caller graph for this function:
|
static |
References hexEncode().
Referenced by main(), and fedem::sign::Verifier::verifyUncached().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
References hexEncode().
Referenced by findTrustedKey(), and main().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
References kManifestSection, and kSigSection.
Referenced by fedem::sign::Verifier::verifyUncached().
Here is the caller graph for this function:
|
static |
References pubKeyFingerprint().
Referenced by fedem::sign::Verifier::verifyUncached().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
References ED25519_SIG_BYTES.
Referenced by fedem::sign::Verifier::verifyUncached().
Here is the caller graph for this function:
|
inlineconstexpr |
Referenced by fedem::sign::Manifest::read(), and verifySignature().
|
inlineconstexpr |
Referenced by main(), makeStrippedCopy(), fedem::sign::Manifest::read(), and stripExistingSections().
|
inlineconstexpr |
Referenced by main(), makeStrippedCopy(), fedem::sign::Manifest::read(), and stripExistingSections().