public final class SignRequest extends Authentication
This Object is needed, when a new Signature is being issued. The Object requires a mandatory "Document" or simply a data Object (byte array) upon which the Signature is generated. It is also possible to set an expiration data.
Please see Authentication for information about the account and
credentials information.
| Constructor and Description |
|---|
SignRequest() |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
getData() |
Date |
getExpires() |
void |
setData(byte[] data) |
void |
setExpires(Date expires) |
Map<String,String> |
validate()
Simple Validation method, which checks if the required values are usable
or not.
|
getAccountName, getCredential, getCredentialType, setAccountName, setCredential, setCredentialTypecheckIntegerWithMax, checkNotNull, checkNotNullAndValidId, checkNotNullEmptyOrTooLong, checkNotNullOrEmpty, checkNotNullOrEmpty, checkNotTooLong, checkUrl, checkValidId, isEmptypublic void setData(byte[] data)
public byte[] getData()
public void setExpires(Date expires)
public Date getExpires()
public Map<String,String> validate()
validate in class AuthenticationCopyright © 2019 JavaDog.io. All rights reserved.