Module Expr Str ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign NameStore Call NameLoad NameLoad keyword Str Return Call AttributeLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If NameLoad body Assign NameStore Call NameLoad NameLoad Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr Str Str attr Assign NameStore Call NameLoad Call AttributeLoad Str attr SubscriptLoad NameLoad Slice Num Num Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num Assign NameStore Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num orelse Assign NameStore Call AttributeLoad NameLoad attr NameLoad Return Call NameLoad NameLoad decorator_list NameLoad decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call NameLoad NameLoad keyword Str Return Call AttributeLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults Str body Expr Str Assign NameStore Call NameLoad Call NameLoad NameLoad If NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad orelse Raise Call NameLoad Str Return Call NameLoad NameLoad decorator_list NameLoad decorator_list
N/A N/A pyCrypto Crypto-related routines for oauth2client. Crypto.PublicKey RSA Crypto.Hash SHA256 Crypto.Signature PKCS1_v1_5 Crypto.Util.asn1 DerSequence oauth2client._helpers _parse_pem_key oauth2client._helpers _to_bytes oauth2client._helpers _urlsafe_b64decode PyCryptoVerifier N/A object N/A N/A Verifies the signature on a message. __init__ N/A N/A self pubkey N/A N/A N/A Constructor.

        Args:
            pubkey: OpenSSL.crypto.PKey (or equiv), The public key to verify
            with.
         N/A N/A self _pubkey pubkey N/A verify N/A N/A self message signature N/A N/A N/A Verifies a message against a signature.

        Args:
            message: string or bytes, The message to verify. If string, will be
                     encoded to bytes as utf-8.
            signature: string or bytes, The signature on the message.

        Returns:
            True if message was signed by the private key associated with the
            public key that this object was constructed with.
         N/A message N/A _to_bytes message encoding utf-8 N/A N/A N/A N/A N/A PKCS1_v1_5 new N/A self _pubkey verify N/A N/A SHA256 new message signature N/A from_string N/A N/A key_pem is_x509_cert N/A N/A N/A Construct a Verified instance from a string.

        Args:
            key_pem: string, public key in PEM format.
            is_x509_cert: bool, True if key_pem is an X509 cert, otherwise it
                          is expected to be an RSA key in PEM format.

        Returns:
            Verifier instance.
         N/A is_x509_cert N/A N/A key_pem N/A _to_bytes key_pem N/A pemLines N/A N/A N/A N/A key_pem replace split N/A certDer N/A _urlsafe_b64decode N/A N/A join N/A pemLines N/A 1 -1 N/A certSeq N/A DerSequence N/A N/A N/A certSeq decode certDer N/A tbsSeq N/A DerSequence N/A N/A N/A tbsSeq decode N/A certSeq N/A 0 N/A pubkey N/A N/A RSA importKey N/A tbsSeq N/A 6 N/A N/A pubkey N/A N/A RSA importKey key_pem N/A N/A PyCryptoVerifier pubkey N/A staticmethod N/A PyCryptoSigner N/A object N/A N/A Signs messages with a private key. __init__ N/A N/A self pkey N/A N/A N/A Constructor.

        Args:
            pkey, OpenSSL.crypto.PKey (or equiv), The private key to sign with.
         N/A N/A self _key pkey N/A sign N/A N/A self message N/A N/A N/A Signs a message.

        Args:
            message: string, Message to be signed.

        Returns:
            string, The signature of the message for the given key.
         N/A message N/A _to_bytes message encoding utf-8 N/A N/A N/A N/A N/A PKCS1_v1_5 new N/A self _key sign N/A N/A SHA256 new message N/A from_string N/A N/A key password N/A notasecret N/A N/A Construct a Signer instance from a string.

        Args:
            key: string, private key in PEM format.
            password: string, password for private key file. Unused for PEM
                      files.

        Returns:
            Signer instance.

        Raises:
            NotImplementedError if the key isn't in PEM format.
         N/A parsed_pem_key N/A _parse_pem_key N/A _to_bytes key N/A parsed_pem_key N/A N/A pkey N/A N/A RSA importKey parsed_pem_key N/A N/A N/A NotImplementedError PKCS12 format is not supported by the PyCrypto library. Try converting to a "PEM" (openssl pkcs12 -in xxxxx.p12 -nodes -nocerts > privatekey.pem) or using PyOpenSSL if native code is an option. N/A N/A PyCryptoSigner pkey N/A staticmethod N/A