def METHOD_NAME(self, bytes, padding=None, hashAlg="sha1", saltLen=None):
    """Sign the passed-in bytes.
    This requires the key to have a private component.  It performs
    an ECDSA signature on the passed-in data.
    :type bytes: bytearray
    :param bytes: The value which will be signed (generally a binary
        encoding of hash output.
    :type padding: str
    :param padding: Ignored, present for API compatibility with RSA
    :type hashAlg: str
    :param hashAlg: name of hash that was used for calculating the bytes
    :type saltLen: int
    :param saltLen: Ignored, present for API compatibility with RSA
    :rtype: bytearray
    :returns: An ECDSA signature on the passed-in data.
    """
    sigBytes = self._sign(bytes, hashAlg)
    return sigBytes