pub fn classify(
observed: &ObservedSdkIdentity,
verified: &VerifiedSdkIdentity,
min_supported_version: Option<&str>,
) -> SdkIdentityVerdictExpand description
Recompute the SDK-identity verdict from inputs the server controls.
Precedence (most severe first):
Missing— the agent presented no SDK identity at all.Forged— a verified version reference exists and the observed version contradicts it.VersionDowngraded— the observed version is belowmin_supported_version(or is unparseable while a minimum is required).Unverifiable— an identity was presented but there is no verified reference and no minimum to clear.Ok— otherwise.
min_supported_version is None when the operator imposes no floor.