public final class VerifyRequest extends Authentication
When a "document" needs to have its signature verified, this Object is needed as part of the CWS verify request. It requires that both the Signature and the "document" (bytes) is present to perform the verification check.
Please see Authentication
for information about the account and
credentials information.
Constructor and Description |
---|
VerifyRequest() |
Modifier and Type | Method and Description |
---|---|
byte[] |
getData() |
String |
getSignature() |
void |
setData(byte[] data) |
void |
setSignature(String signature) |
Map<String,String> |
validate()
Simple Validation method, which checks if the required values are usable
or not.
|
getAccountName, getCredential, getCredentialType, setAccountName, setCredential, setCredentialType
checkIntegerWithMax, checkNotNull, checkNotNullAndValidId, checkNotNullEmptyOrTooLong, checkNotNullOrEmpty, checkNotNullOrEmpty, checkNotTooLong, checkUrl, checkValidId, isEmpty
public void setSignature(String signature)
public String getSignature()
public void setData(byte[] data)
public byte[] getData()
public Map<String,String> validate()
validate
in class Authentication
Copyright © 2019 JavaDog.io. All rights reserved.