Token

class mtf.diag_port.sfa.sfa_manager.Token

This class contains all the relevant fields of a Secure Token

__init__(token_path)
match_ecuid(ecuid)

check if token match the provided ecu identifier

match_vinid(vinid)

check if token match the provided vehicle identifier

match_ecuid_and_vinid(vinid, ecuid)

check if token match the provided ecu and vehicle identifier

property name

token name

property length

token length

property link_type

token link type

property link_to_id

token link to id

property timestamp

token timestamp

property feature_id

feature id

property enable_type

token enable type

property feature_specific_fields

feature specific fields within token raw

property raw

Bytearray with the raw bytes value of the token