Interface INonceSequenceSerializer

All Known Implementing Classes:
AndroidSequenceSerializer, SequenceSerializer

public interface INonceSequenceSerializer
Serializes/Deserializes nonce sequences.
  • Method Details

    • deserialize

      HashMap<String,NonceSequence> deserialize(String contents)
      Deserialize sequences from a string.
      Parameters:
      contents - The contents containing the nonce sequences.
      Returns:
      The deserialized sequences
      Throws:
      SequenceException - Thrown if there is an error with the nonce sequence
    • serialize

      String serialize(HashMap<String,NonceSequence> sequences)
      Serialize the sequences to a string.
      Parameters:
      sequences - The sequences to convert to text.
      Returns:
      The serialized contents
      Throws:
      SequenceException - Thrown if there is an error with the nonce sequence