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 classBuilder forSignResponseProcessingParametersobjects. -
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.voidsetExtension(Extension extension) Assigns the extension parameters for the instance.voidsetXmlSignatureLocation(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, waitMethods 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. Ifnullis 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:
getExtensionin interfaceExtensible- Returns:
- the extension, or
nullif no extensions are set
-
setExtension
Assigns the extension parameters for the instance.- Specified by:
setExtensionin interfaceExtensible- Parameters:
extension- the extension
-