@staticmethod
def from_bytes(key_bytes):
    ' Generates a public key object from a byte (or hex) string.\n\n        Args:\n            key_bytes (bytes or str): A byte stream.\n\n        Returns:\n            PublicKey: A PublicKey object.\n        '
    raise NotImplementedError
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.
@staticmethod
def from_bytes(key_bytes):
    ' Generates a public key object from a byte (or hex) string.\n\n        Args:\n            key_bytes (bytes or str): A byte stream.\n\n        Returns:\n            PublicKey: A PublicKey object.\n        '
    raise NotImplementedError