def public_bytes(self, encoding):
        """
        Encodes the request to PEM or DER format.
        """

        Encodes the request to PEM or DER format.
        
stackoverflow/venv/lib/python3.6/site-packages/cryptography/x509/base.py