@@ -43,7 +43,6 @@ def __init__(
4343 hsm : bool = False ,
4444 private_key : Union [dict , CoseKey ] = None ,
4545 digest_alg : str = settings .PYMDOC_HASHALG ,
46- status_list : dict = None ,
4746 revocation : dict = None
4847 ) -> None :
4948 """
@@ -61,8 +60,7 @@ def __init__(
6160 :param hsm: bool: hardware security module
6261 :param private_key: Union[dict, CoseKey]: the signing key
6362 :param digest_alg: str: the digest algorithm
64- :param status_list: dict: the status list to include in the mso
65- :param revocation: dict: the status list to include in the mso
63+ :param revocation: dict: revocation status dict to include in the mso, it may include status_list and identifier_list keys
6664 """
6765
6866 if not hsm :
@@ -97,7 +95,6 @@ def __init__(
9795 self .alg = alg
9896 self .kid = kid
9997 self .validity = validity
100- self .status_list = status_list
10198 self .revocation = revocation
10299
103100 alg_map = {"ES256" : "sha256" , "ES384" : "sha384" , "ES512" : "sha512" }
@@ -206,8 +203,6 @@ def sign(
206203 },
207204 "digestAlgorithm" : alg_map .get (self .alg )
208205 }
209- if self .status_list is not None :
210- payload .update ({"status" : self .status_list })
211206 if self .revocation is not None :
212207 payload .update ({"status" : self .revocation })
213208
0 commit comments