Class: SalmonSequenceSerializer

SalmonSequenceSerializer()

Serializes sequences for all the drives the device is authorized.

Constructor

new SalmonSequenceSerializer()

Source:

Classes

SalmonSequenceSerializer

Methods

deserialize(contents)

Deserialize sequences from json string.
Parameters:
Name Type Description
contents The contents containing the nonce sequences.
Source:
Throws:
SequenceException Thrown if error with the nonce sequence
Returns:

serialize(driveAuthEntries)

Serialize the sequences to a json string.
Parameters:
Name Type Description
driveAuthEntries The sequences to convert to text.
Source:
Throws:
SequenceException Thrown if error with the nonce sequence
Returns: