pub enum AtlsVerificationError {
Show 16 variants
Io(String),
Quote(String),
BootchainMismatch {
field: String,
expected: String,
actual: String,
},
RtmrMismatch {
index: u8,
expected: String,
actual: String,
},
CertificateNotInEventLog,
EventLogParse(String),
TeeTypeMismatch(String),
AppComposeHashMismatch {
expected: String,
actual: String,
},
OsImageHashMismatch {
expected: String,
actual: Option<String>,
},
TcbStatusNotAllowed {
status: String,
allowed: Vec<String>,
},
ReportDataMismatch {
expected: String,
actual: String,
},
Configuration(String),
TlsHandshake(String),
InvalidServerName(String),
MissingCertificate,
Other(Error),
}Expand description
Errors that can occur during aTLS verification.
Variants§
Io(String)
I/O error during communication.
Quote(String)
Quote verification failed.
BootchainMismatch
Bootchain measurement mismatch.
RtmrMismatch
RTMR measurement mismatch.
CertificateNotInEventLog
Certificate not found in event log.
EventLogParse(String)
Event log parsing failed.
TeeTypeMismatch(String)
TEE type mismatch.
AppComposeHashMismatch
App compose hash mismatch.
OsImageHashMismatch
OS image hash mismatch.
TcbStatusNotAllowed
TCB status not in allowed list.
ReportDataMismatch
Report data mismatch - potential replay attack.
Configuration(String)
Configuration error.
TlsHandshake(String)
TLS handshake failed.
InvalidServerName(String)
Invalid server name.
MissingCertificate
Missing server certificate after TLS handshake.
Other(Error)
Other errors.
Trait Implementations§
Source§impl Debug for AtlsVerificationError
impl Debug for AtlsVerificationError
Source§impl Display for AtlsVerificationError
impl Display for AtlsVerificationError
Source§impl Error for AtlsVerificationError
impl Error for AtlsVerificationError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Auto Trait Implementations§
impl Freeze for AtlsVerificationError
impl RefUnwindSafe for AtlsVerificationError
impl Send for AtlsVerificationError
impl Sync for AtlsVerificationError
impl Unpin for AtlsVerificationError
impl UnwindSafe for AtlsVerificationError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> Pointable for T
impl<T> Pointable for T
Source§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
Source§impl<T> ToStringFallible for Twhere
T: Display,
impl<T> ToStringFallible for Twhere
T: Display,
Source§fn try_to_string(&self) -> Result<String, TryReserveError>
fn try_to_string(&self) -> Result<String, TryReserveError>
ToString::to_string, but without panic on OOM.