public class CreateSignatureInfo extends Object implements Serializable
AuthenticationException
is thrown, it prevents the signature process from
being completed.SignatureService
,
SignatureService.createSignature(String, CreateSignatureInfo)
,
Serialized FormConstructor and Description |
---|
CreateSignatureInfo()
Constructs an allocated
CreateSignatureInfo with all of the fields uninitialized. |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getComment()
Gets the comment to use to create the signature.
|
byte[] |
getPassword()
Gets the password that is used to create the signature.
|
String |
getReason()
Gets the signature reason to use to create the signature.
|
String |
getRole()
Gets the role to use to create the signature.
|
String |
getUserId()
Gets the user identifier to use to create the signature.
|
int |
hashCode() |
void |
setComment(String comment)
Sets the comment to use to create the signature.
|
void |
setPassword(byte[] password)
Sets the password to use during the signature process.
|
void |
setReason(String reason)
Sets the signature reason to use to create the signature.
|
void |
setRole(String role)
Sets the signature role to use to create signature.
|
void |
setUserId(String userId)
Sets the user identifier to to use to create the signature.
|
String |
toString() |
public CreateSignatureInfo()
CreateSignatureInfo
with all of the fields uninitialized.public String getUserId()
public void setUserId(String userId)
userId
- The user identifier to use to create the signature.Signature.getUserId()
public byte[] getPassword()
setUserId(String)
value. The credentials are tested as part of the
signature process.public void setPassword(byte[] password)
password
- The password to use to create the signature.public String getRole()
public void setRole(String role)
To retrieve the valid roles, call SignatureService.getSignatureRoles()
.
role
- The role to use to create the signature.SignatureService.getSignatureRoles()
,
Signature.getRole()
public String getReason()
public void setReason(String reason)
To retrieve the valid reasons call SignatureService.getSignatureReasons()
.
reason
- The reason to use to create the signature.SignatureService.getSignatureRoles()
,
Signature.getReason()
public String getComment()
public void setComment(String comment)
comment
- The comment to use to create the signature.Signature.getComment()
<i>Copyright (c) 2021, SAS Institute Inc., Cary, NC, USA</i>