Skip to content

Commit

Permalink
Add documentation for jwcrypto.common
Browse files Browse the repository at this point in the history
Signed-off-by: Simo Sorce <simo@redhat.com>
  • Loading branch information
simo5 committed May 13, 2022
1 parent f294187 commit 793fb43
Show file tree
Hide file tree
Showing 2 changed files with 39 additions and 0 deletions.
38 changes: 38 additions & 0 deletions docs/source/common.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
Common
======

Functions
---------
.. autofunction:: jwcrypto.common.base64url_encode
.. autofunction:: jwcrypto.common.base64url_decode
.. autofunction:: jwcrypto.common.json_encode
.. autofunction:: jwcrypto.common.json_decode

Classes
-------

.. autoclass:: jwcrypto.common.JWSEHeaderRegistry
:members:

Exceptions
----------

.. autoclass:: jwcrypto.common.JWException

.. autoclass:: jwcrypto.common.InvalidJWAAlgorithm
:show-inheritance:

.. autoclass:: jwcrypto.common.InvalidCEKeyLength
:show-inheritance:

.. autoclass:: jwcrypto.common.InvalidJWEOperation
:show-inheritance:

.. autoclass:: jwcrypto.common.InvalidJWEKeyType
:show-inheritance:

.. autoclass:: jwcrypto.common.InvalidJWEKeyLength
:show-inheritance:

.. autoclass:: jwcrypto.common.InvalidJWSERegOperation
:show-inheritance:
1 change: 1 addition & 0 deletions docs/source/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ Contents:
jws
jwe
jwt
common


Note: In the examples, random or generated output values are replaced
Expand Down

0 comments on commit 793fb43

Please sign in to comment.