pub enum SdkIdentityVerdict {
Ok,
Missing,
VersionDowngraded,
Forged,
Unverifiable,
}Expand description
The server-recomputed verdict on an agent’s presented SDK identity.
Ordered so the most security-relevant tampering signals are distinct enum variants the audit / metric layer (AAASM-3637) can label by.
Variants§
Ok
Identity present, matches the verified reference (or no minimum to clear), and is at or above the minimum supported version.
Missing
No SDK identity was presented — a stripped / bypassed SDK.
VersionDowngraded
A version below the minimum supported version was presented (an old / downgraded SDK build).
Forged
The observed version contradicts the version established over the authenticated channel — an impersonation / forgery attempt.
Unverifiable
An identity was presented but there is no verified reference to compare it against (handshake absent / unsupported). Not itself a tamper signal.
Implementations§
Source§impl SdkIdentityVerdict
impl SdkIdentityVerdict
Sourcepub fn as_str(&self) -> &'static str
pub fn as_str(&self) -> &'static str
A stable lowercase label for metric / audit dimensions. Never carries any agent-supplied free text.
Sourcepub fn is_suspected_tamper(&self) -> bool
pub fn is_suspected_tamper(&self) -> bool
Whether this verdict is a tamper signal worth a distinct audit record
and metric. Ok and Unverifiable are not — they are the steady-state
outcomes for a well-behaved or not-yet-attested SDK.
Trait Implementations§
Source§impl Clone for SdkIdentityVerdict
impl Clone for SdkIdentityVerdict
Source§fn clone(&self) -> SdkIdentityVerdict
fn clone(&self) -> SdkIdentityVerdict
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more