Module Expr Str Import 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 Assign NameStore Call NameLoad NameLoad keyword Str TryExcept body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad NameLoad Str Return NameLoad handlers ExceptHandler type AttributeLoad NameLoad attr body Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call NameLoad NameLoad If NameLoad body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad orelse Assign NameStore Call AttributeLoad NameLoad attr 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 NameLoad attr AttributeLoad NameLoad attr NameLoad Str decorator_list FunctionDef arguments args NameParam NameParam defaults Str body Expr Str Assign NameStore Call NameLoad NameLoad Assign NameStore Call NameLoad NameLoad If NameLoad body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad orelse Assign NameStore Call NameLoad NameLoad keyword Str Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr NameLoad NameLoad attr Return Call NameLoad NameLoad decorator_list NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Return Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr decorator_list
N/A N/A OpenSSL Crypto-related routines for oauth2client. N/A base64 OpenSSL crypto oauth2client._helpers _parse_pem_key oauth2client._helpers _to_bytes OpenSSLVerifier 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, 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. If string,
                   will be encoded to bytes as utf-8.

        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 signature N/A _to_bytes signature encoding utf-8 N/A N/A N/A N/A N/A crypto verify N/A self _pubkey signature message sha256 N/A True N/A N/A N/A N/A crypto Error N/A N/A False 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.

        Raises:
            OpenSSL.crypto.Error: if the key_pem can't be parsed.
         N/A key_pem N/A _to_bytes key_pem N/A is_x509_cert N/A N/A pubkey N/A N/A crypto load_certificate N/A crypto FILETYPE_PEM key_pem N/A N/A pubkey N/A N/A crypto load_privatekey N/A crypto FILETYPE_PEM key_pem N/A N/A OpenSSLVerifier pubkey N/A staticmethod N/A OpenSSLSigner 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: bytes, 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 crypto sign N/A self _key message sha256 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 PKCS12 or PEM format.
            password: string, password for the private key file.

        Returns:
            Signer instance.

        Raises:
            OpenSSL.crypto.Error if the key can't be parsed.
         N/A key N/A _to_bytes key N/A parsed_pem_key N/A _parse_pem_key key N/A parsed_pem_key N/A N/A pkey N/A N/A crypto load_privatekey N/A crypto FILETYPE_PEM parsed_pem_key N/A N/A password N/A _to_bytes password encoding utf-8 N/A pkey N/A N/A N/A N/A crypto load_pkcs12 key password get_privatekey N/A N/A OpenSSLSigner pkey N/A staticmethod N/A pkcs12_key_as_pem N/A N/A private_key_bytes private_key_password N/A N/A N/A Convert the contents of a PKCS#12 key to PEM using pyOpenSSL.

    Args:
        private_key_bytes: Bytes. PKCS#12 key in DER format.
        private_key_password: String. Password for PKCS#12 key.

    Returns:
        String. PEM contents of ``private_key_bytes``.
     N/A private_key_password N/A _to_bytes private_key_password N/A pkcs12 N/A N/A crypto load_pkcs12 private_key_bytes private_key_password N/A N/A N/A crypto dump_privatekey N/A crypto FILETYPE_PEM N/A N/A pkcs12 get_privatekey N/A