'Search SSH host keys'

def searchsshkey(self, fingerprint=None, key=None, keytype=None, bits=None, output=None):

    params = {'name': 'ssh-hostkey'}
    if (fingerprint is not None):
        if (not isinstance(fingerprint, utils.REGEXP_T)):
            fingerprint = fingerprint.replace(':', '').lower()
        params.setdefault('values', {})['fingerprint'] = fingerprint
    if (key is not None):
        params.setdefault('values', {})['key'] = key
    if (keytype is not None):
        params.setdefault('values', {})['type'] = keytype
    if (bits is not None):
        params.setdefault('values', {})['bits'] = bits
    if (output is not None):
        params['output'] = output
    return self.searchscript(**params)
