mirror of https://gerrit.osmocom.org/pysim
pylint: apdu/ts_31_102.py
pySim/apdu/ts_31_102.py:12:0: W0401: Wildcard import construct (wildcard-import) pySim/apdu/ts_31_102.py:38:0: W0404: Reimport 'ApduCommand' (imported line 18) (reimported) pySim/apdu/ts_31_102.py:38:0: W0404: Reimport 'ApduCommandSet' (imported line 18) (reimported) Change-Id: I191147af95142adcd7d768d7dae6480b0c7513fc
This commit is contained in:
parent
295d4a4907
commit
0930bcbbb7
|
@ -9,12 +9,12 @@ APDU commands of 3GPP TS 31.102 V16.6.0
|
||||||
"""
|
"""
|
||||||
from typing import Dict
|
from typing import Dict
|
||||||
|
|
||||||
from construct import *
|
from construct import BitStruct, Enum, BitsInteger, Int8ub, Bytes, this, Struct, If, Switch, Const
|
||||||
from construct import Optional as COptional
|
from construct import Optional as COptional
|
||||||
|
|
||||||
from pySim.filesystem import *
|
from pySim.filesystem import *
|
||||||
from pySim.construct import *
|
from pySim.construct import *
|
||||||
from pySim.ts_31_102 import SUCI_TlvDataObject
|
from pySim.ts_31_102 import SUCI_TlvDataObject
|
||||||
|
|
||||||
from pySim.apdu import ApduCommand, ApduCommandSet
|
from pySim.apdu import ApduCommand, ApduCommandSet
|
||||||
|
|
||||||
# Copyright (C) 2022 Harald Welte <laforge@osmocom.org>
|
# Copyright (C) 2022 Harald Welte <laforge@osmocom.org>
|
||||||
|
@ -35,8 +35,6 @@ from pySim.apdu import ApduCommand, ApduCommandSet
|
||||||
|
|
||||||
# Mapping between USIM Service Number and its description
|
# Mapping between USIM Service Number and its description
|
||||||
|
|
||||||
from pySim.apdu import ApduCommand, ApduCommandSet
|
|
||||||
|
|
||||||
# TS 31.102 Section 7.1
|
# TS 31.102 Section 7.1
|
||||||
class UsimAuthenticateEven(ApduCommand, n='AUTHENTICATE', ins=0x88, cla=['0X', '4X', '6X']):
|
class UsimAuthenticateEven(ApduCommand, n='AUTHENTICATE', ins=0x88, cla=['0X', '4X', '6X']):
|
||||||
_apdu_case = 4
|
_apdu_case = 4
|
||||||
|
|
Loading…
Reference in New Issue