Class EncodedSignatureSessionState
java.lang.Object
se.idsec.signservice.integration.state.impl.EncodedSignatureSessionState
- All Implemented Interfaces:
Serializable
Implementation of an encoded signature session state.
- Author:
- Martin Lindström (martin@idsec.se), Stefan Santesson (stefan@idsec.se)
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor.EncodedSignatureSessionState(String encodedState) Constructor.Constructor. -
Method Summary
Modifier and TypeMethodDescriptionDecompresses and gets the session state.voidAssigns the state to be compressed.
-
Constructor Details
-
EncodedSignatureSessionState
public EncodedSignatureSessionState()Default constructor. -
EncodedSignatureSessionState
Constructor.- Parameters:
encodedState- the encoded state
-
EncodedSignatureSessionState
Constructor.- Parameters:
state- the state- Throws:
IOException- for serialization errors
-
-
Method Details
-
setSignatureSessionState
Assigns the state to be compressed.- Parameters:
state- the state- Throws:
IOException- for serialization or compression errors
-
getSignatureSessionState
Decompresses and gets the session state.- Returns:
- the state
- Throws:
IOException- for deserialization errors
-