src/fedoidcmsg/bundle.py
def get_bundle(iss, ver_keys, bundle_file):
    """
    Read a signed JWKS bundle from disc, verify the signature and
    instantiate a JWKSBundle instance with the information from the file.
    
    :param iss:
    :param ver_keys:
    :param bundle_file:
    :return:
    """
    fp = open(bundle_file, 'r')
    signed_bundle = fp.read()
    fp.close()
    return JWKSBundle(iss, None).upload_signed_bundle(signed_bundle, ver_keys)
def get_bundle(iss, ver_keys, bundle_file):
    """
    Read a signed JWKS bundle from disc, verify the signature and
    instantiate a JWKSBundle instance with the information from the file.
    
    :param iss:
    :param ver_keys:
    :param bundle_file:
    :return:
    """
    fp = open(bundle_file, 'r')
    signed_bundle = fp.read()
    fp.close()
    return JWKSBundle(iss, None).upload_signed_bundle(signed_bundle, ver_keys)
Read a signed JWKS bundle from disc, verify the signature and
    instantiate a JWKSBundle instance with the information from the file.
    
    :param iss:
    :param ver_keys:
    :param bundle_file:
    :return: