neco_quotient_certificate/digest
Types
pub type DigestChecks =
dict.Dict(String, ProjectionResult)
pub type DigestScope {
WithinRuntime(payload: String)
CrossLanguage(payload: String)
}
Constructors
-
WithinRuntime(payload: String) -
CrossLanguage(payload: String)
pub type ProjectionDigest {
ProjectionDigest(digest: String, scope: DigestScope)
}
Constructors
-
ProjectionDigest(digest: String, scope: DigestScope)
pub type ProjectionDigests =
dict.Dict(String, ProjectionDigest)
pub type ProjectionResult {
Matched(value: ProjectionDigest)
CertificateOnly(actual: ProjectionDigest)
RecomputedOnly(expected: ProjectionDigest)
Different(expected: ProjectionDigest, actual: ProjectionDigest)
}
Constructors
-
Matched(value: ProjectionDigest) -
CertificateOnly(actual: ProjectionDigest) -
RecomputedOnly(expected: ProjectionDigest) -
Different(expected: ProjectionDigest, actual: ProjectionDigest)
Values
pub fn all_matched(
checks: dict.Dict(String, ProjectionResult),
) -> Bool
pub fn check(
expected: dict.Dict(String, ProjectionDigest),
actual: dict.Dict(String, ProjectionDigest),
) -> dict.Dict(String, ProjectionResult)
pub fn is_matched(result: ProjectionResult) -> Bool