def METHOD_NAME(
    self,
    encoding: _serialization.Encoding,
    format: _serialization.PrivateFormat,
    encryption_algorithm: _serialization.KeySerializationEncryption,
) -> bytes:
    """
    Returns the key serialized as bytes.
    """