Class DefaultSignatureState

java.lang.Object
se.idsec.signservice.integration.state.impl.DefaultSignatureState
All Implemented Interfaces:
Serializable, se.idsec.signservice.integration.core.SignatureState, CacheableSignatureState

public class DefaultSignatureState extends Object implements CacheableSignatureState
Default implementation of the SignatureState interface.

It uses the SignRequestInput class to store the state between calls.

Author:
Martin Lindström (martin@idsec.se), Stefan Santesson (stefan@idsec.se)
See Also:
  • Constructor Details

    • DefaultSignatureState

      public DefaultSignatureState()
  • Method Details

    • getId

      public String getId()
      Specified by:
      getId in interface se.idsec.signservice.integration.core.SignatureState
    • getState

      public Serializable getState()
      Specified by:
      getState in interface se.idsec.signservice.integration.core.SignatureState
    • getOwnerId

      public String getOwnerId()
      Gets the owner identity of the state object.
      Specified by:
      getOwnerId in interface CacheableSignatureState
      Returns:
      the owner identity or null if not available