Commit dbeabb87 authored by Simo Sorce's avatar Simo Sorce

Document 2 JWK properties

Signed-off-by: default avatarSimo Sorce <>
parent 1d4a95ef
......@@ -338,10 +338,14 @@ class JWK(object):
def key_type(self):
"""The Key type"""
return self._params.get('kty', None)
def key_id(self):
"""The Key ID.
Provided by the kid parameter if present, otherwise returns None.
return self._params.get('kid', None)
def get_curve(self, arg):
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment