Coverage for /pythoncovmergedfiles/medio/medio/usr/local/lib/python3.11/site-packages/jose/exceptions.py: 100%

Shortcuts on this page

r m x   toggle line displays

j k   next/prev highlighted chunk

0   (zero) top of page

1   (one) first highlighted chunk

24 statements  

1class JOSEError(Exception): 

2 pass 

3 

4 

5class JWSError(JOSEError): 

6 pass 

7 

8 

9class JWSSignatureError(JWSError): 

10 pass 

11 

12 

13class JWSAlgorithmError(JWSError): 

14 pass 

15 

16 

17class JWTError(JOSEError): 

18 pass 

19 

20 

21class JWTClaimsError(JWTError): 

22 pass 

23 

24 

25class ExpiredSignatureError(JWTError): 

26 pass 

27 

28 

29class JWKError(JOSEError): 

30 pass 

31 

32 

33class JWEError(JOSEError): 

34 """Base error for all JWE errors""" 

35 

36 pass 

37 

38 

39class JWEParseError(JWEError): 

40 """Could not parse the JWE string provided""" 

41 

42 pass 

43 

44 

45class JWEInvalidAuth(JWEError): 

46 """ 

47 The authentication tag did not match the protected sections of the 

48 JWE string provided 

49 """ 

50 

51 pass 

52 

53 

54class JWEAlgorithmUnsupportedError(JWEError): 

55 """ 

56 The JWE algorithm is not supported by the backend 

57 """ 

58 

59 pass