Package com.mku.sequence
Interface INonceSequenceSerializer
- All Known Implementing Classes:
AndroidSequenceSerializer
,SalmonSequenceSerializer
public interface INonceSequenceSerializer
Serializes/Deserializes nonce sequences.
-
Method Summary
Modifier and TypeMethodDescriptiondeserialize
(String contents) Parse nonce sequences from text contents.serialize
(HashMap<String, NonceSequence> sequences) Generates the contents from sequences.
-
Method Details
-
deserialize
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
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
-