Class SignerRequestParameters
java.lang.Object
br.ufsc.labsec.web.RequestParameterProcessor
br.ufsc.labsec.signer.api.SignerRequestParameters
- All Implemented Interfaces:
SignerParameters
- Direct Known Subclasses:
CloudRequest, IntegraICPRequest, PKCS12Request, YkueRequest
public abstract class SignerRequestParameters
extends RequestParameterProcessor
implements SignerParameters
-
Field Summary
FieldsModifier and TypeFieldDescriptionorg.json.JSONObjectList<jakarta.servlet.http.Part> org.json.JSONObjectorg.json.JSONObjectbooleanorg.json.JSONObjectorg.json.JSONObjectorg.json.JSONObjectFields inherited from class RequestParameterProcessor
request, response -
Constructor Summary
ConstructorsConstructorDescriptionSignerRequestParameters(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response) -
Method Summary
Modifier and TypeMethodDescriptionorg.json.JSONObjectList<byte[]> getParameter(String key) getPdfVisualInfo(String filename) Optional<org.json.JSONObject> booleanbooleansetup()protected abstract voidMethods inherited from class RequestParameterProcessor
getPart, parameter, part, partToStream
-
Field Details
-
suite
-
format
-
signerType
-
xpathInternallyDetached
public org.json.JSONObject xpathInternallyDetached -
pdfVisualInfo
public org.json.JSONObject pdfVisualInfo -
transformInfo
public org.json.JSONObject transformInfo -
files
-
signWithChosenAttributes
public boolean signWithChosenAttributes -
signedAttributes
public org.json.JSONObject signedAttributes -
unsignedAttributes
public org.json.JSONObject unsignedAttributes -
extraAttributes
public org.json.JSONObject extraAttributes -
signatureMode
-
tsaAuthInfo
-
-
Constructor Details
-
SignerRequestParameters
public SignerRequestParameters(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response)
-
-
Method Details
-
setup
- Throws:
IOException
-
setupSpecific
- Throws:
ApiMisusageException
-
getTsaAuthInfo
- Specified by:
getTsaAuthInfoin interfaceSignerParameters
-
getPdfVisualInfo
- Specified by:
getPdfVisualInfoin interfaceSignerParameters
-
getXpath
- Specified by:
getXpathin interfaceSignerParameters
-
getTransformInfo
- Specified by:
getTransformInfoin interfaceSignerParameters
-
getEtsiuEncod
- Specified by:
getEtsiuEncodin interfaceSignerParameters
-
getParameter
- Specified by:
getParameterin interfaceSignerParameters
-
getExtraAttributes
public org.json.JSONObject getExtraAttributes()- Specified by:
getExtraAttributesin interfaceSignerParameters
-
isSignWithChosenAttributes
public boolean isSignWithChosenAttributes()- Specified by:
isSignWithChosenAttributesin interfaceSignerParameters
-
getFile
- Specified by:
getFilein interfaceSignerParameters- Throws:
IOException
-