Enum webauthn_rs::error::WebauthnError[][src]

pub enum WebauthnError {
    InvalidClientDataType,
    MismatchedChallenge,
    ChallengeNotFound,
    InvalidRPOrigin,
    InvalidRPIDHash,
    UserNotPresent,
    UserNotVerified,
    InvalidExtensions,
    MissingAttestationCredentialData,
    AttestationNotSupported,
    ChallengePersistenceError,
    AttestationStatementMapInvalid,
    AttestationStatementSigMissing,
    AttestationStatementSigInvalid,
    AttestationStatementVerMissing,
    AttestationStatementVerInvalid,
    AttestationStatementVerUnsupported,
    AttestationStatementX5CMissing,
    AttestationStatementX5CInvalid,
    AttestationStatementAlgMissing,
    AttestationStatementCertInfoMissing,
    AttestationStatementPubAreaMissing,
    AttestationStatementAlgMismatch,
    AttestationStatementAlgInvalid,
    AttestationTrustFailure,
    AttestationCertificateAAGUIDMismatch,
    AttestationTpmStInvalid,
    AttestationTpmPubareaMismatch,
    AttestationTpmExtraDataInvalid,
    AttestationTpmExtraDataMismatch,
    AttestationTpmPubareaHashUnknown,
    AttestationTpmPubareaHashInvalid,
    AttestationTpmAttestCertifyInvalid,
    AttestationCertificateRequirementsNotMet,
    CertificatePublicKeyInvalid,
    ParseBase64Failure(b64DecodeError),
    ParseCBORFailure(CBORError),
    ParseJSONFailure(JSONError),
    ParseNOMFailure,
    ParseInsufficentBytesAvailable,
    OpenSSLError(OpenSSLErrorStack),
    OpenSSLErrorNoCurveName,
    COSEKeyInvalidCBORValue,
    COSEKeyInvalidType,
    COSEKeyECDSAXYInvalid,
    COSEKeyRSANEInvalid,
    COSEKeyECDSAInvalidCurve,
    COSEKeyECDSAContentType,
    CredentialExistCheckError,
    CredentialAlreadyExists,
    CredentialPersistenceError,
    CredentialRetrievalError,
    CredentialNotFound,
    CredentialAlteredAlgFromRequest,
    CredentialExcludedFromRequest,
    CredentialPossibleCompromise,
    CredentialCounterUpdateFailure,
    CredentialCompromiseReportFailure,
    TrustFailure,
    AuthenticationFailure,
    InconsistentUserVerificationPolicy,
    InvalidUsername,
    ECDSACurveInvalidNid,
    AttestationCredentialSubjectKeyMistmatch,
}

Possible errors that may occur during Webauthn Operation proessing.

Variants

InvalidClientDataType
MismatchedChallenge
ChallengeNotFound
InvalidRPOrigin
InvalidRPIDHash
UserNotPresent
UserNotVerified
InvalidExtensions
MissingAttestationCredentialData
AttestationNotSupported
ChallengePersistenceError
AttestationStatementMapInvalid
AttestationStatementSigMissing
AttestationStatementSigInvalid
AttestationStatementVerMissing
AttestationStatementVerInvalid
AttestationStatementVerUnsupported
AttestationStatementX5CMissing
AttestationStatementX5CInvalid
AttestationStatementAlgMissing
AttestationStatementCertInfoMissing
AttestationStatementPubAreaMissing
AttestationStatementAlgMismatch
AttestationStatementAlgInvalid
AttestationTrustFailure
AttestationCertificateAAGUIDMismatch
AttestationTpmStInvalid
AttestationTpmPubareaMismatch
AttestationTpmExtraDataInvalid
AttestationTpmExtraDataMismatch
AttestationTpmPubareaHashUnknown
AttestationTpmPubareaHashInvalid
AttestationTpmAttestCertifyInvalid
AttestationCertificateRequirementsNotMet
CertificatePublicKeyInvalid
ParseBase64Failure(b64DecodeError)
ParseCBORFailure(CBORError)
ParseJSONFailure(JSONError)
ParseNOMFailure
ParseInsufficentBytesAvailable
OpenSSLError(OpenSSLErrorStack)
OpenSSLErrorNoCurveName
COSEKeyInvalidCBORValue
COSEKeyInvalidType
COSEKeyECDSAXYInvalid
COSEKeyRSANEInvalid
COSEKeyECDSAInvalidCurve
COSEKeyECDSAContentType
CredentialExistCheckError
CredentialAlreadyExists
CredentialPersistenceError
CredentialRetrievalError
CredentialNotFound
CredentialAlteredAlgFromRequest
CredentialExcludedFromRequest
CredentialPossibleCompromise
CredentialCounterUpdateFailure
CredentialCompromiseReportFailure
TrustFailure
AuthenticationFailure
InconsistentUserVerificationPolicy
InvalidUsername
ECDSACurveInvalidNid
AttestationCredentialSubjectKeyMistmatch

Trait Implementations

impl Debug for WebauthnError[src]

impl Display for WebauthnError[src]

impl Error for WebauthnError[src]

impl From<DecodeError> for WebauthnError[src]

impl From<Error> for WebauthnError[src]

impl From<Error> for WebauthnError[src]

impl From<ErrorStack> for WebauthnError[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,