Enum webauthn_rs_core::error::WebauthnError
source · [−]pub enum WebauthnError {
Show 83 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,
AttestationChainNotTrusted(String),
CertificatePublicKeyInvalid,
ParseBase64Failure(b64DecodeError),
ParseCBORFailure(CBORError),
ParseJSONFailure(JSONError),
ParseNOMFailure,
ParseInsufficientBytesAvailable,
OpenSSLError(OpenSSLErrorStack),
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,
}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
AttestationChainNotTrusted(String)
CertificatePublicKeyInvalid
ParseBase64Failure(b64DecodeError)
ParseCBORFailure(CBORError)
ParseJSONFailure(JSONError)
ParseNOMFailure
ParseInsufficientBytesAvailable
OpenSSLError(OpenSSLErrorStack)
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
Trait Implementations
sourceimpl Debug for WebauthnError
impl Debug for WebauthnError
sourceimpl Display for WebauthnError
impl Display for WebauthnError
sourceimpl Error for WebauthnError
impl Error for WebauthnError
sourcefn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · sourcefn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
sourceimpl From<DecodeError> for WebauthnError
impl From<DecodeError> for WebauthnError
sourcefn from(source: b64DecodeError) -> Self
fn from(source: b64DecodeError) -> Self
Converts to this type from the input type.
sourceimpl From<Error> for WebauthnError
impl From<Error> for WebauthnError
sourceimpl From<Error> for WebauthnError
impl From<Error> for WebauthnError
sourceimpl From<ErrorStack> for WebauthnError
impl From<ErrorStack> for WebauthnError
sourcefn from(source: OpenSSLErrorStack) -> Self
fn from(source: OpenSSLErrorStack) -> Self
Converts to this type from the input type.
sourceimpl PartialEq<WebauthnError> for WebauthnError
impl PartialEq<WebauthnError> for WebauthnError
Auto Trait Implementations
impl !RefUnwindSafe for WebauthnError
impl Send for WebauthnError
impl Sync for WebauthnError
impl Unpin for WebauthnError
impl !UnwindSafe for WebauthnError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more