Interface INonceSequenceSerializer

All Known Implementing Classes:
AndroidSequenceSerializer, SalmonSequenceSerializer

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

    • deserialize

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

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