Utilities
JOSE utilities.
- class josepy.util.abstractclassmethod(target)[source]
Descriptor for an abstract classmethod.
It augments the
abcframework with an abstract classmethod. This is implemented asabc.abstractclassmethodin the standard Python library starting with version 3.2.This particular implementation, allegedly based on Python 3.3 source code, is stolen from http://stackoverflow.com/questions/11217878/python-2-7-combine-abc-abstractmethod-and-classmethod.
- class josepy.util.ComparableX509(wrapped)[source]
Wrapper for OpenSSL.crypto.X509** objects that supports __eq__.
- Variables
wrapped – Wrapped certificate or certificate request.
- class josepy.util.ComparableRSAKey(wrapped)[source]
Wrapper for
cryptographyRSA keys.Wraps around: