Package es.gob.afirma.integraws.beans
Class RequestSign
- java.lang.Object
-
- es.gob.afirma.integraws.beans.RequestSign
-
public class RequestSign extends java.lang.ObjectClass that represents the request object for SIGN service.
Project:Library for the integration with the services of @Firma, eVisor and TS@.
- Version:
- 1.0, 12/5/2016.
-
-
Constructor Summary
Constructors Constructor Description RequestSign()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetAlias()Gets the value of the attributealias.byte[]getDataToSign()Gets the value of the attributedataToSign.java.lang.StringgetIdClient()Gets the value of the attributeidClient.byte[]getSignature()Gets the value of the attributesignature.SignatureFormatEnumgetSignatureFormat()Gets the value of the attributesignatureFormat.booleanisIncludeSignaturePolicy()Gets the value of the attributeincludeSignaturePolicy.voidsetAlias(java.lang.String aliasParam)Sets the value of the attributealias.voidsetDataToSign(byte[] dataToSignParam)Sets the value of the attributedataToSign.voidsetIdClient(java.lang.String idClientParam)Sets the value of the attributeidClient.voidsetIncludeSignaturePolicy(boolean includeSignaturePolicyParam)Sets the value of the attributeincludeSignaturePolicy.voidsetSignature(byte[] signatureParam)Sets the value of the attributesignature.voidsetSignatureFormat(SignatureFormatEnum signatureFormatParam)Sets the value of the attributesignatureFormat.
-
-
-
Method Detail
-
getDataToSign
public final byte[] getDataToSign()
Gets the value of the attributedataToSign.- Returns:
- the value of the attribute
dataToSign.
-
setDataToSign
public final void setDataToSign(byte[] dataToSignParam)
Sets the value of the attributedataToSign.- Parameters:
dataToSignParam- The value for the attributedataToSign.
-
getSignature
public final byte[] getSignature()
Gets the value of the attributesignature.- Returns:
- the value of the attribute
signature.
-
setSignature
public final void setSignature(byte[] signatureParam)
Sets the value of the attributesignature.- Parameters:
signatureParam- The value for the attributesignature.
-
getAlias
public final java.lang.String getAlias()
Gets the value of the attributealias.- Returns:
- the value of the attribute
alias.
-
setAlias
public final void setAlias(java.lang.String aliasParam)
Sets the value of the attributealias.- Parameters:
aliasParam- The value for the attributealias.
-
isIncludeSignaturePolicy
public final boolean isIncludeSignaturePolicy()
Gets the value of the attributeincludeSignaturePolicy.- Returns:
- the value of the attribute
includeSignaturePolicy.
-
setIncludeSignaturePolicy
public final void setIncludeSignaturePolicy(boolean includeSignaturePolicyParam)
Sets the value of the attributeincludeSignaturePolicy.- Parameters:
includeSignaturePolicyParam- The value for the attributeincludeSignaturePolicy.
-
getIdClient
public final java.lang.String getIdClient()
Gets the value of the attributeidClient.- Returns:
- the value of the attribute
idClient.
-
setIdClient
public final void setIdClient(java.lang.String idClientParam)
Sets the value of the attributeidClient.- Parameters:
idClientParam- The value for the attributeidClient.
-
getSignatureFormat
public final SignatureFormatEnum getSignatureFormat()
Gets the value of the attributesignatureFormat.- Returns:
- the value of the attribute
signatureFormat.
-
setSignatureFormat
public final void setSignatureFormat(SignatureFormatEnum signatureFormatParam)
Sets the value of the attributesignatureFormat.- Parameters:
signatureFormatParam- The value for the attributesignatureFormat.
-
-