Added ES256K to supported algorithms.

Signed-off-by: Pol Henarejos <pol.henarejos@cttc.es>
This commit is contained in:
Pol Henarejos 2023-08-22 13:33:12 +02:00
parent c8fd18d4b2
commit a40850adaf
No known key found for this signature in database
GPG Key ID: C0095B7870A4CCD3
1 changed files with 1 additions and 1 deletions

View File

@ -98,7 +98,7 @@ 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]
algs: Sequence[Type[CoseKey]] = [ES256, EdDSA, ES384, ES512, PS256, RS256, ES256K]
return [cls.ALGORITHM for cls in algs]