#[derive(Error, Debug)] pubenum Error { #[cfg(feature = "rust-hpke")] #[error("a problem occurred with the AEAD")]
Aead(#[from] aead::Error), #[cfg(feature = "nss")] #[error("a problem occurred during cryptographic processing: {0}")]
Crypto(#[from] crate::nss::Error), #[error("an error was found in the format")]
Format, #[cfg(all(feature = "rust-hpke", not(feature = "pq")))] #[error("a problem occurred with HPKE: {0}")]
Hpke(#[from] ::hpke::HpkeError), #[cfg(all(feature = "rust-hpke", feature = "pq"))] #[error("a problem occurred with HPKE: {0}")]
Hpke(#[from] ::hpke_pq::HpkeError), #[error("an internal error occurred")]
Internal, #[error("the wrong type of key was provided for the selected KEM")]
InvalidKeyType, #[error("the wrong KEM was specified")]
InvalidKem, #[error("io error: {0}")]
Io(#[from] std::io::Error), #[error("the key ID was invalid")]
KeyId, #[error("a field was truncated")]
Truncated, #[error("the configuration was not supported")]
Unsupported, #[error("the configuration contained too many symmetric suites")]
TooManySymmetricSuites,
}
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.