pub enum WebauthnError {
Show 90 variants
Configuration,
InvalidClientDataType,
MismatchedChallenge,
ChallengeNotFound,
InvalidRPOrigin,
InvalidRPIDHash,
UserNotPresent,
UserNotVerified,
InvalidExtensions,
AuthenticatorDataMissingExtension,
MissingAttestationCredentialData,
AttestationNotSupported,
ChallengePersistenceError,
AttestationStatementMapInvalid,
AttestationStatementResponseMissing,
AttestationStatementResponseInvalid,
AttestationStatementSigMissing,
AttestationStatementSigInvalid,
AttestationStatementVerMissing,
AttestationStatementVerInvalid,
AttestationStatementVerUnsupported,
AttestationStatementX5CMissing,
AttestationStatementX5CInvalid,
AttestationStatementAlgMissing,
AttestationStatementCertInfoMissing,
AttestationStatementMissingExtension,
AttestationStatementPubAreaMissing,
AttestationStatementAlgMismatch,
AttestationStatementAlgInvalid,
AttestationTrustFailure,
AttestationCertificateAAGUIDMismatch,
AttestationCertificateNonceMismatch,
AttestationTpmStInvalid,
AttestationTpmPubAreaMismatch,
AttestationTpmExtraDataInvalid,
AttestationTpmExtraDataMismatch,
AttestationTpmPubAreaHashUnknown,
AttestationTpmPubAreaHashInvalid,
AttestationTpmAttestCertifyInvalid,
AttestationCertificateRequirementsNotMet,
AttestationCertificateTrustStoreEmpty,
AttestationLeafCertMissing,
AttestationNotVerifiable,
AttestationUntrustedAaguid,
AttestationFormatMissingAaguid,
AttestationChainNotTrusted(String),
CertificatePublicKeyInvalid,
ParseBase64Failure(DecodeError),
ParseCBORFailure(Error),
ParseJSONFailure(Error),
ParseNOMFailure,
ParseInsufficientBytesAvailable,
OpenSSLError(ErrorStack),
OpenSSLErrorNoCurveName,
COSEKeyInvalidCBORValue,
COSEKeyInvalidType,
COSEKeyEDUnsupported,
COSEKeyECDSAXYInvalid,
COSEKeyRSANEInvalid,
COSEKeyECDSAInvalidCurve,
COSEKeyEDDSAXInvalid,
COSEKeyEDDSAInvalidCurve,
COSEKeyInvalidAlgorithm,
CredentialMayNotBeHardwareBound,
CredentialInsecureCryptography,
CredentialExistCheckError,
CredentialAlreadyExists,
CredentialPersistenceError,
CredentialRetrievalError,
CredentialNotFound,
CredentialAlteredAlgFromRequest,
CredentialExcludedFromRequest,
CredentialPossibleCompromise,
CredentialCounterUpdateFailure,
CredentialCompromiseReportFailure,
CredentialBackupElligibilityInconsistent,
TrustFailure,
AuthenticationFailure,
InconsistentUserVerificationPolicy,
InvalidUsername,
InvalidUserUniqueId,
ECDSACurveInvalidNid,
AttestationCredentialSubjectKeyMismatch,
CredentialCrossOrigin,
MissingAttestationCaList,
SshPublicKeyBackupState,
SshPublicKeyEDUnsupported,
SshPublicKeyInvalidCurve,
SshPublicKeyInvalidPubkey,
SshPublicKeyInconsistentUserVerification,
}
Expand description
Possible errors that may occur during Webauthn Operation processing.
Variants§
Configuration
InvalidClientDataType
MismatchedChallenge
ChallengeNotFound
InvalidRPOrigin
InvalidRPIDHash
UserNotPresent
UserNotVerified
InvalidExtensions
AuthenticatorDataMissingExtension
MissingAttestationCredentialData
AttestationNotSupported
ChallengePersistenceError
AttestationStatementMapInvalid
AttestationStatementResponseMissing
AttestationStatementResponseInvalid
AttestationStatementSigMissing
AttestationStatementSigInvalid
AttestationStatementVerMissing
AttestationStatementVerInvalid
AttestationStatementVerUnsupported
AttestationStatementX5CMissing
AttestationStatementX5CInvalid
AttestationStatementAlgMissing
AttestationStatementCertInfoMissing
AttestationStatementMissingExtension
AttestationStatementPubAreaMissing
AttestationStatementAlgMismatch
AttestationStatementAlgInvalid
AttestationTrustFailure
AttestationCertificateAAGUIDMismatch
AttestationCertificateNonceMismatch
AttestationTpmStInvalid
AttestationTpmPubAreaMismatch
AttestationTpmExtraDataInvalid
AttestationTpmExtraDataMismatch
AttestationTpmPubAreaHashUnknown
AttestationTpmPubAreaHashInvalid
AttestationTpmAttestCertifyInvalid
AttestationCertificateRequirementsNotMet
AttestationCertificateTrustStoreEmpty
AttestationLeafCertMissing
AttestationNotVerifiable
AttestationUntrustedAaguid
AttestationFormatMissingAaguid
AttestationChainNotTrusted(String)
CertificatePublicKeyInvalid
ParseBase64Failure(DecodeError)
ParseCBORFailure(Error)
ParseJSONFailure(Error)
ParseNOMFailure
ParseInsufficientBytesAvailable
OpenSSLError(ErrorStack)
OpenSSLErrorNoCurveName
COSEKeyInvalidCBORValue
COSEKeyInvalidType
COSEKeyEDUnsupported
COSEKeyECDSAXYInvalid
COSEKeyRSANEInvalid
COSEKeyECDSAInvalidCurve
COSEKeyEDDSAXInvalid
COSEKeyEDDSAInvalidCurve
COSEKeyInvalidAlgorithm
CredentialMayNotBeHardwareBound
CredentialInsecureCryptography
CredentialExistCheckError
CredentialAlreadyExists
CredentialPersistenceError
CredentialRetrievalError
CredentialNotFound
CredentialAlteredAlgFromRequest
CredentialExcludedFromRequest
CredentialPossibleCompromise
CredentialCounterUpdateFailure
CredentialCompromiseReportFailure
CredentialBackupElligibilityInconsistent
TrustFailure
AuthenticationFailure
InconsistentUserVerificationPolicy
InvalidUsername
InvalidUserUniqueId
ECDSACurveInvalidNid
AttestationCredentialSubjectKeyMismatch
CredentialCrossOrigin
MissingAttestationCaList
SshPublicKeyBackupState
SshPublicKeyEDUnsupported
SshPublicKeyInvalidCurve
SshPublicKeyInvalidPubkey
SshPublicKeyInconsistentUserVerification
Trait Implementations§
Source§impl Debug for WebauthnError
impl Debug for WebauthnError
Source§impl Display for WebauthnError
impl Display for WebauthnError
Source§impl Error for WebauthnError
impl Error for WebauthnError
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()
Source§impl From<DecodeError> for WebauthnError
impl From<DecodeError> for WebauthnError
Source§fn from(source: DecodeError) -> WebauthnError
fn from(source: DecodeError) -> WebauthnError
Converts to this type from the input type.
Source§impl From<Error> for WebauthnError
impl From<Error> for WebauthnError
Source§fn from(source: Error) -> WebauthnError
fn from(source: Error) -> WebauthnError
Converts to this type from the input type.
Source§impl From<Error> for WebauthnError
impl From<Error> for WebauthnError
Source§fn from(source: Error) -> WebauthnError
fn from(source: Error) -> WebauthnError
Converts to this type from the input type.
Source§impl From<ErrorStack> for WebauthnError
impl From<ErrorStack> for WebauthnError
Source§fn from(source: ErrorStack) -> WebauthnError
fn from(source: ErrorStack) -> WebauthnError
Converts to this type from the input type.
Source§impl PartialEq for WebauthnError
impl PartialEq for WebauthnError
Auto Trait Implementations§
impl Freeze for WebauthnError
impl !RefUnwindSafe for WebauthnError
impl Send for WebauthnError
impl Sync for WebauthnError
impl Unpin for WebauthnError
impl !UnwindSafe for WebauthnError
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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