Module Import alias Import alias Import alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias alias ClassDef bases NameLoad body Expr Str Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body If Call NameLoad NameLoad AttributeLoad NameLoad attr body Return NameLoad If Call NameLoad NameLoad NameLoad body If Call NameLoad NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad orelse Raise Call NameLoad Str Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Return Call AttributeLoad Call AttributeLoad NameLoad attr NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Return Call AttributeLoad Call AttributeLoad NameLoad attr NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad decorator_list decorator_list
N/A N/A Crypto.Hash.SHA256 N/A Crypto.Hash.SHA384 N/A Crypto.Hash.SHA512 Crypto.PublicKey RSA Crypto.Signature PKCS1_v1_5 jwt.algorithms Algorithm jwt.compat string_types text_type RSAAlgorithm N/A Algorithm N/A N/A 
    Performs signing and verification operations using
    RSASSA-PKCS-v1_5 and the specified hash function.

    This class requires PyCrypto package to be installed.

    This is based off of the implementation in PyJWT 0.3.2
     N/A SHA256 N/A N/A Crypto Hash SHA256 N/A SHA384 N/A N/A Crypto Hash SHA384 N/A SHA512 N/A N/A Crypto Hash SHA512 __init__ N/A N/A self hash_alg N/A N/A N/A N/A self hash_alg hash_alg N/A prepare_key N/A N/A self key N/A N/A N/A N/A isinstance key N/A RSA _RSAobj N/A N/A key N/A N/A isinstance key string_types N/A N/A N/A isinstance key text_type N/A N/A key N/A N/A key encode utf-8 N/A key N/A N/A RSA importKey key N/A N/A N/A TypeError Expecting a PEM- or RSA-formatted key. N/A key N/A sign N/A N/A self msg key N/A N/A N/A N/A N/A N/A N/A PKCS1_v1_5 new key sign N/A N/A N/A self hash_alg new msg N/A verify N/A N/A self msg key sig N/A N/A N/A N/A N/A N/A N/A PKCS1_v1_5 new key verify N/A N/A N/A self hash_alg new msg sig N/A N/A