Class ProcessSignResponseInput

java.lang.Object
se.idsec.signservice.integration.ProcessSignResponseInput

public class ProcessSignResponseInput extends Object
The ProceessSignResponseInput class is intended to be used when the SignService Integration service is implemented as a REST service. It collects all the parameters of the SignServiceIntegrationService.processSignResponse(String, String, se.idsec.signservice.integration.core.SignatureState, SignResponseProcessingParameters) method.
Author:
Martin Lindström (martin@idsec.se), Stefan Santesson (stefan@idsec.se)
  • Constructor Details

    • ProcessSignResponseInput

      public ProcessSignResponseInput()
      Default constructor.
    • ProcessSignResponseInput

      public ProcessSignResponseInput(String signResponse, String relayState, SignatureState state, SignResponseProcessingParameters parameters)
      Constructor.
      Parameters:
      signResponse - the Base64-encoded SignResponse message (from the EidSignResponse POST parameter)
      relayState - the relayState (read from the RelayState POST parameter)
      state - the signature state
      parameters - processing parameters giving directives about the processing (may be null)
  • Method Details

    • getSignResponse

      public String getSignResponse()
      Gets the Base64-encoded SignResponse message (read from the EidSignResponse POST parameter).
      Returns:
      the base64-encoded SignResponse
    • setSignResponse

      public void setSignResponse(String signResponse)
      Assigns the Base64-encoded SignResponse message (read from the EidSignResponse POST parameter).
      Parameters:
      signResponse - the base64-encoded SignResponse
    • getRelayState

      public String getRelayState()
      Gets the relayState (read from the RelayState POST parameter).
      Returns:
      the RelayState parameter
    • setRelayState

      public void setRelayState(String relayState)
      Assigns the relayState (read from the RelayState POST parameter).
      Parameters:
      relayState - the RelayState parameter
    • getState

      public SignatureState getState()
      Gets the signature state.
      Returns:
      the signature state
    • setState

      public void setState(SignatureState state)
      Assigns the signature state.
      Parameters:
      state - the signature state
    • getParameters

      public SignResponseProcessingParameters getParameters()
      Gets the optional processing parameters giving directives about the processing.
      Returns:
      processing parameters, or null
    • setParameters

      public void setParameters(SignResponseProcessingParameters parameters)
      Assigns the processing parameters giving directives about the processing.
      Parameters:
      parameters - processing parameters
    • builder

    • toString

      public String toString()
      Overrides:
      toString in class Object