@staticmethod
def from_bytes(key_bytes):
    """ Generates a public key object from a byte (or hex) string.

        Args:
            key_bytes (bytes or str): A byte stream.

        Returns:
            PublicKey: A PublicKey object.
        """
    raise NotImplementedError
