public final class VerifyResponse extends CwsResponse
This is the response Object from the CWS, when the verify request was invoked. It only contains a single boolean value, verified, which will tell if the Object was correctly verified or not. If the request failed, or there was a problem, then the default value false is set. It is therefore important to check that the request was successful before assuming that the signature check failed.
Please see CwsResponse
for information about the result of the
processing.
Constructor and Description |
---|
VerifyResponse()
Empty Constructor, to use if the setters are invoked.
|
VerifyResponse(ReturnCode returnCode,
String returnMessage)
Error Constructor, used if an error occurred, and the request could not
complete successfully.
|
Modifier and Type | Method and Description |
---|---|
boolean |
isVerified() |
void |
setVerified(boolean verified) |
getReturnCode, getReturnMessage, isOk, setReturnCode, setReturnMessage
public VerifyResponse()
public VerifyResponse(ReturnCode returnCode, String returnMessage)
returnCode
- The CWS Return CodereturnMessage
- The CWS Return MessageCopyright © 2019 JavaDog.io. All rights reserved.