Fix formatting.

This commit is contained in:
Dain Nilsson 2023-08-22 15:33:04 +02:00
parent 8c9f3f0200
commit 032dd8b853
No known key found for this signature in database
GPG Key ID: F04367096FBA95E8
1 changed files with 9 additions and 1 deletions

View File

@ -98,7 +98,15 @@ class CoseKey(dict):
@staticmethod
def supported_algorithms() -> Sequence[int]:
"""Get a list of all supported algorithm identifiers"""
algs: Sequence[Type[CoseKey]] = [ES256, EdDSA, ES384, ES512, PS256, RS256, ES256K]
algs: Sequence[Type[CoseKey]] = [
ES256,
EdDSA,
ES384,
ES512,
PS256,
RS256,
ES256K,
]
return [cls.ALGORITHM for cls in algs]