6.1.1.3.1.1.1.2. linotp.lib.ImportOTP.PSKC module¶
- Parsing of pskc files:
- http://tools.ietf.org/search/rfc6030
- linotp.lib.ImportOTP.PSKC.parsePSKCdata(xml, preshared_key_hex=None, password=None, do_checkserial=True, do_feitian=False)[source]¶
This function parses XML data of a PSKC file, (RFC6030) It can read * AES-128-CBC encrypted (preshared_key_bin) data * password based encrypted data * plain text data
- It returns a dictionary of
- serial : { hmac_key , counter, .... }