ERUCES::TEAdminCodeSigning
#include <teadmin_codesigning.h>
The TEAdminCodeSigning class is for code signing administration.
The TEAdminCodeSigning class is
© Pi Soft, 2018-2026 · Tricryption Engine 8.1
Inheritance
- Inherits ERUCES::TEAdmin
Public Member Functions
| Member | Description |
|---|---|
TEAdminCodeSigning() | |
~TEAdminCodeSigning() | |
TECodeSigningInfo registerCode(const TECodeSigningInfo &info) | |
void getSignedCodeList(TEObjectContainer &codes) | |
void removeSignedCode(const TECodeSigningInfo &info) | |
uint32_t getCodePolicy() | |
uint32_t attestClientBuild(const _TESTD string &artifactId, const _TESTD string &manifestDigest, const _TESTD string &signature, const _TESTD string &signerCertificate) |
Member Function Documentation
TEAdminCodeSigning()
default constructor
~TEAdminCodeSigning()
destructor
uint32_t getCodePolicy()
TE81-264 (ADR 0143): the key server's code-signing level – 0 off, 1 approved publisher, 2 approved release (GET_CODE_POLICY).
uint32_t attestClientBuild(const _TESTD string &artifactId, const _TESTD string &manifestDigest, const _TESTD string &signature, const _TESTD string &signerCertificate)
TE81-264 (ADR 0143): attest this connection's client build (ATTEST_CLIENT_BUILD).
Parameters
| Parameter | Description |
|---|---|
artifactId | the release manifest's artifact header value |
manifestDigest | the 32-byte SHA-256 of the release manifest's exact bytes |
signature | the detached signature over the manifest (RSA or ECDSA, SHA-256) |
signerCertificate | the signer's certificate, DER |
Returns: the level the connection is now admitted at; a refusal throws, carrying the key server's ERR_CLIENT_BUILD_NOT_ADMITTED