

def get_signature(signature_data):
    'Decode the signature data and returns the signature.\n\n    :param siganture_data: the base64-encoded signature data\n    :returns: the decoded signature\n    :raises: SignatureVerificationError if the signature data is malformatted\n    '
    try:
        signature = base64.decode_as_bytes(signature)
    except (TypeError, binascii.Error):
        raise exception.SignatureVerificationError(reason=_('The signature data was not properly encoded using base64'))
    return signature

dataset/ETHPy150Open BU-NU-CLOUD-SP16/Trusted-Platform-Module-nova/nova/signature_utils.py get_signature/VarMisuse@22/109 `signature_data`->`signature`