Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/C/Firefox/third_party/rust/mls-rs-identity-x509/src/   (Firefox Browser Version 136.0.1©)  Datei vom 10.2.2025 mit Größe 1 kB image not shown  

Quelle  error.rs

  Sprache: Rust
 

// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// Copyright by contributors to this project.
// SPDX-License-Identifier: (Apache-2.0 OR MIT)

use mls_rs_core::{error::AnyError, identity::CredentialType};

#[derive(Debug)]
#[cfg_attr(feature = "std", derive(thiserror::Error))]
pub enum X509IdentityError {
    #[cfg_attr(feature = "std", error("unsupported credential type {0:?}"))]
    UnsupportedCredentialType(CredentialType),
    #[cfg_attr(
        feature = "std",
        error("signing identity public key does not match the leaf certificate")
    )]
    SignatureKeyMismatch,
    #[cfg_attr(feature = "std", error("unable to parse certificate chain data"))]
    InvalidCertificateChain,
    #[cfg_attr(feature = "std", error("invalid offset within certificate chain"))]
    InvalidOffset,
    #[cfg_attr(feature = "std", error("empty certificate chain"))]
    EmptyCertificateChain,
    #[cfg_attr(feature = "std", error(transparent))]
    CredentialEncodingError(AnyError),
    #[cfg_attr(feature = "std", error(transparent))]
    X509ReaderError(AnyError),
    #[cfg_attr(feature = "std", error(transparent))]
    IdentityExtractorError(AnyError),
    #[cfg_attr(feature = "std", error(transparent))]
    X509ValidationError(AnyError),
    #[cfg_attr(feature = "std", error(transparent))]
    IdentityWarningProviderError(AnyError),
}

impl mls_rs_core::error::IntoAnyError for X509IdentityError {
    #[cfg(feature = "std")]
    fn into_dyn_error(self) -> Result<Box<dyn std::error::Error + Send + Sync>, Self> {
        Ok(self.into())
    }
}

Messung V0.5 in Prozent
C=93 H=82 G=87

¤ Dauer der Verarbeitung: 0.9 Sekunden  (vorverarbeitet am  2026-07-02) ¤

*© Formatika GbR, Deutschland






Wurzel

Suchen

PVS Prover

Isabelle Prover

NIST Cobol Testsuite

Cephes Mathematical Library

Vienna Development Method

Haftungshinweis

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.