Class SignatureRequest
java.lang.Object
se.swedenconnect.bankid.rpapi.service.SignatureRequest
Representation of the parameters required for a sign call.
- Author:
- Martin Lindström, Felix Hellman
-
Constructor Summary
ConstructorsConstructorDescriptionSignatureRequest(String endUserIp, DataToSign dataToSign, Requirement requirement) Creates parameter object for anBankIDClient.sign(SignatureRequest)call. -
Method Summary
Modifier and TypeMethodDescriptionGets the data to sign.Gets the user IP address as seen by the relying party.Gets the signing requirements.
-
Constructor Details
-
SignatureRequest
Creates parameter object for anBankIDClient.sign(SignatureRequest)call.- Parameters:
endUserIp- the user IP address as seen by the relying partydataToSign- the data to signrequirement- used by the relying party to set requirements how the sign operation must be performed. Default rules are applied if omitted- Throws:
BankIDException- for errors
-
-
Method Details
-
getEndUserIp
Gets the user IP address as seen by the relying party.- Returns:
- the user IP
-
getDataToSign
Gets the data to sign.- Returns:
- the data to sign
-
getRequirement
Gets the signing requirements.- Returns:
- the
Requirementornull
-