12 lines
250 B
Python
12 lines
250 B
Python
|
# parse license challenge
|
||
|
cdm.parse_license(session_id, licence)
|
||
|
|
||
|
# get keys
|
||
|
keys=""
|
||
|
for key in cdm.get_keys(session_id):
|
||
|
keys+=f"[{key.type}] {key.kid.hex}:{key.key.hex()}\n"
|
||
|
|
||
|
# close session, disposes of session data
|
||
|
cdm.close(session_id)
|
||
|
keys
|