Interface SignResponseProcessor

All Known Implementing Classes:
DefaultSignResponseProcessor

public interface SignResponseProcessor
Interface for sign response processing.
Author:
Martin Lindström (martin@idsec.se), Stefan Santesson (stefan@idsec.se)
  • Method Details

    • processSignResponse

      @Nonnull se.idsec.signservice.integration.SignatureResult processSignResponse(@Nonnull String signResponse, @Nonnull SignatureSessionState sessionState, @Nonnull IntegrationServiceConfiguration config, @Nullable se.idsec.signservice.integration.SignResponseProcessingParameters parameters) throws se.idsec.signservice.integration.SignResponseCancelStatusException, se.idsec.signservice.integration.SignResponseErrorStatusException, se.idsec.signservice.integration.core.error.SignServiceIntegrationException
      Processes the supplied SignResponse according to the supplied processing parameters and the session state.
      Parameters:
      signResponse - the encoded SignResponse message
      sessionState - the state
      config - the policy configuration
      parameters - optional processing parameters
      Returns:
      a signature response
      Throws:
      se.idsec.signservice.integration.SignResponseCancelStatusException - if the user cancelled the operation
      se.idsec.signservice.integration.SignResponseErrorStatusException - if the sign service reported an error
      se.idsec.signservice.integration.core.error.SignServiceIntegrationException - for processing and validation errors
    • getProcessingConfiguration

      @Nonnull SignResponseProcessingConfig getProcessingConfiguration()
      Gets the processing configuration that this processor is configured with.
      Returns:
      the processing configuration