#[non_exhaustive]pub enum TransparencyError {
InclusionProofInvalid,
NoTlogEntries,
UnknownLogKey,
SetMissing,
SetInvalid,
InclusionProofMissing,
CheckpointTreeSizeMismatch,
CheckpointRootHashMismatch,
CheckpointSignatureInvalid,
CheckpointOriginMismatch,
}Expand description
Transparency-log (Rekor) verification failures.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
InclusionProofInvalid
The Merkle inclusion proof did not verify against the checkpoint,
or the proof’s logIndex/treeSize/hash count were inconsistent
(including over- or under-length hash lists).
NoTlogEntries
The bundle carried no transparency-log entries to verify.
UnknownLogKey
No key in the trust store’s transparency logs had a SHA-256 digest
of its SubjectPublicKeyInfo matching the entry’s logId.keyId.
SetMissing
The tlog entry carried no inclusion promise (SET). A SET is
required: an inclusion proof alone does not authenticate
integratedTime (DESIGN.md “Time-evidence model”).
SetInvalid
The inclusion promise (SET) did not verify against the selected trusted log key.
InclusionProofMissing
The tlog entry carried no Merkle inclusion proof.
CheckpointTreeSizeMismatch
The checkpoint’s tree size did not match the inclusion proof’s tree size.
CheckpointRootHashMismatch
The checkpoint’s root hash did not match the inclusion proof’s root hash.
CheckpointSignatureInvalid
No signature line in the checkpoint verified against the selected trusted log key.
CheckpointOriginMismatch
The checkpoint signature authenticated successfully, but its opaque origin was not allowed for the selected trusted log-key identity.
This intentionally carries no origin or key material so an attacker cannot use verification errors as an oracle for policy contents.
Trait Implementations§
Source§impl Debug for TransparencyError
impl Debug for TransparencyError
Source§impl Display for TransparencyError
impl Display for TransparencyError
Source§impl Error for TransparencyError
impl Error for TransparencyError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
use the Display impl or to_string()