def get_hash_method(hash_method_name):
    if hash_method_name not in HASH_METHODS:
        raise exception.SignatureVerificationError(
            reason=_('Invalid signature hash method: %s') % hash_method_name)

    return HASH_METHODS[hash_method_name]
Clear the content.
dataset/ETHPy150Open BU-NU-CLOUD-SP16/Trusted-Platform-Module-nova/nova/signature_utils.py/get_hash_method--crossover with--dataset/ETHPy150Open sccn/SNAP/src/framework/ui_elements/BroadcastPresenter.py/BroadcastPresenter.clear