Package se.idsec.signservice.integration
Class SignResponseProcessingParameters
java.lang.Object
se.idsec.signservice.integration.SignResponseProcessingParameters
- All Implemented Interfaces:
Serializable
,Extensible
Class representing the processing parameters for a call to
SignServiceIntegrationService.processSignResponse(String, String, se.idsec.signservice.integration.core.SignatureState, SignResponseProcessingParameters)
.- Author:
- Martin Lindström (martin@idsec.se), Stefan Santesson (stefan@idsec.se)
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
Builder forSignResponseProcessingParameters
objects. -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor.SignResponseProcessingParameters
(XMLSignatureLocation xmlSignatureLocation, Extension extension) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionReturns the extension parameters for the instance.For signed XML documents the method tells where the XML signature is inserted.void
setExtension
(Extension extension) Assigns the extension parameters for the instance.void
setXmlSignatureLocation
(XMLSignatureLocation xmlSignatureLocation) For XML documents, this method assigned where the signature should be inserted.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface se.idsec.signservice.integration.core.Extensible
addExtensionValue, getExtensionValue
-
Constructor Details
-
SignResponseProcessingParameters
public SignResponseProcessingParameters()Default constructor. -
SignResponseProcessingParameters
public SignResponseProcessingParameters(XMLSignatureLocation xmlSignatureLocation, Extension extension) Constructor.- Parameters:
xmlSignatureLocation
- insertion position for XML signaturesextension
- extensions for the object
-
-
Method Details
-
getXmlSignatureLocation
For signed XML documents the method tells where the XML signature is inserted. Ifnull
is returned, this means insert as the last child element.- Returns:
- XML signature insertion directive
-
setXmlSignatureLocation
For XML documents, this method assigned where the signature should be inserted. Ifnull
, the signature element will be inserted as the last child of the document root element.- Parameters:
xmlSignatureLocation
- XML signature insertion directive
-
getExtension
Returns the extension parameters for the instance.- Specified by:
getExtension
in interfaceExtensible
- Returns:
- the extension, or
null
if no extensions are set
-
setExtension
Assigns the extension parameters for the instance.- Specified by:
setExtension
in interfaceExtensible
- Parameters:
extension
- the extension
-