src/fedoidcmsg/bundle.py
def create_signed_bundle(self, sign_alg='RS256', iss_list=None):
        """
        Create a signed JWT containing a dictionary with Issuer IDs as keys
        and JWKSs as values. If iss_list is empty then all available issuers are
        included.
        
        :param sign_alg: Which algorithm to use when signing the JWT
        :param iss_list: A list of issuer IDs who's keys should be included in 
            the signed bundle.
        :return: A signed JWT
        """
        data = self.dict(iss_list)
        _jwt = JWT(self.sign_keys, iss=self.iss, sign_alg=sign_alg)
        return _jwt.pack({'bundle':data})
def create_signed_bundle(self, sign_alg='RS256', iss_list=None):
        """
        Create a signed JWT containing a dictionary with Issuer IDs as keys
        and JWKSs as values. If iss_list is empty then all available issuers are
        included.
        
        :param sign_alg: Which algorithm to use when signing the JWT
        :param iss_list: A list of issuer IDs who's keys should be included in 
            the signed bundle.
        :return: A signed JWT
        """
        data = self.dict(iss_list)
        _jwt = JWT(self.sign_keys, iss=self.iss, sign_alg=sign_alg)
        return _jwt.pack({'bundle':data})
Create a signed JWT containing a dictionary with Issuer IDs as keys
        and JWKSs as values. If iss_list is empty then all available issuers are
        included.
        
        :param sign_alg: Which algorithm to use when signing the JWT
        :param iss_list: A list of issuer IDs who's keys should be included in 
            the signed bundle.
        :return: A signed JWT