Package es.gob.afirma.integraFacade.pojo
Class ServerSignerRequest
- java.lang.Object
-
- es.gob.afirma.integraFacade.pojo.ServerSignerRequest
-
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
RequestServerSign
public class ServerSignerRequest extends java.lang.Object implements java.io.SerializableClass that represents the request for the server signature service.
Project:Library for the integration with the services of @Firma, eVisor and TS@.
- Version:
- 1.0, 13/11/2014.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ServerSignerRequest()Constructor method for the class ServerSignerRequest.java.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetApplicationId()Gets the value of the attributeapplicationId.byte[]getDocument()Gets the value of the attributedocument.DocumentHashgetDocumentHash()Gets the value of the attributedocumentHash.java.lang.StringgetDocumentId()Gets the value of the attributedocumentId.RepositorygetDocumentRepository()Gets the value of the attributedocumentRepository.HashAlgorithmEnumgetHashAlgorithm()Gets the value of the attributehashAlgorithm.java.lang.StringgetKeySelector()Gets the value of the attributekeySelector.SignatureFormatEnumgetSignatureFormat()Gets the value of the attributesignatureFormat.java.lang.StringgetSignaturePolicyIdentifier()Gets the value of the attributesignaturePolicyIdentifier.XmlSignatureModeEnumgetXmlSignatureMode()Gets the value of the attributexmlSignatureMode.booleanisIgnoreGracePeriod()Gets the value of the attributeignoreGracePeriod.voidsetApplicationId(java.lang.String applicationIdParam)Sets the value of the attributeapplicationId.voidsetDocument(byte[] documentParam)Sets the value of the attributedocument.voidsetDocumentHash(DocumentHash documentHashParam)Sets the value of the attributedocumentHash.voidsetDocumentId(java.lang.String documentIdParam)Sets the value of the attributedocumentId.voidsetDocumentRepository(Repository documentRepositoryParam)Sets the value of the attributedocumentRepository.voidsetHashAlgorithm(HashAlgorithmEnum hashAlgorithmParam)Sets the value of the attributehashAlgorithm.voidsetIgnoreGracePeriod(boolean ignoreGracePeriodParam)Sets the value of the attributeignoreGracePeriod.voidsetKeySelector(java.lang.String keySelectorParam)Sets the value of the attributekeySelector.voidsetSignatureFormat(SignatureFormatEnum signatureFormatParam)Sets the value of the attributesignatureFormat.voidsetSignaturePolicyIdentifier(java.lang.String signaturePolicyIdentifierParam)Sets the value of the attributesignaturePolicyIdentifier.voidsetXmlSignatureMode(XmlSignatureModeEnum xmlSignatureModeParam)Sets the value of the attributexmlSignatureMode.
-
-
-
Method Detail
-
getDocument
public final byte[] getDocument()
Gets the value of the attributedocument.- Returns:
- the value of the attribute
document.
-
setDocument
public final void setDocument(byte[] documentParam)
Sets the value of the attributedocument.- Parameters:
documentParam- The value for the attributedocument.
-
getDocumentId
public final java.lang.String getDocumentId()
Gets the value of the attributedocumentId.- Returns:
- the value of the attribute
documentId.
-
setDocumentId
public final void setDocumentId(java.lang.String documentIdParam)
Sets the value of the attributedocumentId.- Parameters:
documentIdParam- The value for the attributedocumentId.
-
getDocumentRepository
public final Repository getDocumentRepository()
Gets the value of the attributedocumentRepository.- Returns:
- the value of the attribute
documentRepository.
-
setDocumentRepository
public final void setDocumentRepository(Repository documentRepositoryParam)
Sets the value of the attributedocumentRepository.- Parameters:
documentRepositoryParam- The value for the attributedocumentRepository.
-
getApplicationId
public final java.lang.String getApplicationId()
Gets the value of the attributeapplicationId.- Returns:
- the value of the attribute
applicationId.
-
setApplicationId
public final void setApplicationId(java.lang.String applicationIdParam)
Sets the value of the attributeapplicationId.- Parameters:
applicationIdParam- The value for the attributeapplicationId.
-
getKeySelector
public final java.lang.String getKeySelector()
Gets the value of the attributekeySelector.- Returns:
- the value of the attribute
keySelector.
-
setKeySelector
public final void setKeySelector(java.lang.String keySelectorParam)
Sets the value of the attributekeySelector.- Parameters:
keySelectorParam- The value for the attributekeySelector.
-
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.
-
getHashAlgorithm
public final HashAlgorithmEnum getHashAlgorithm()
Gets the value of the attributehashAlgorithm.- Returns:
- the value of the attribute
hashAlgorithm.
-
setHashAlgorithm
public final void setHashAlgorithm(HashAlgorithmEnum hashAlgorithmParam)
Sets the value of the attributehashAlgorithm.- Parameters:
hashAlgorithmParam- The value for the attributehashAlgorithm.
-
getXmlSignatureMode
public final XmlSignatureModeEnum getXmlSignatureMode()
Gets the value of the attributexmlSignatureMode.- Returns:
- the value of the attribute
xmlSignatureMode.
-
setXmlSignatureMode
public final void setXmlSignatureMode(XmlSignatureModeEnum xmlSignatureModeParam)
Sets the value of the attributexmlSignatureMode.- Parameters:
xmlSignatureModeParam- The value for the attributexmlSignatureMode.
-
getSignaturePolicyIdentifier
public final java.lang.String getSignaturePolicyIdentifier()
Gets the value of the attributesignaturePolicyIdentifier.- Returns:
- the value of the attribute
signaturePolicyIdentifier.
-
setSignaturePolicyIdentifier
public final void setSignaturePolicyIdentifier(java.lang.String signaturePolicyIdentifierParam)
Sets the value of the attributesignaturePolicyIdentifier.- Parameters:
signaturePolicyIdentifierParam- The value for the attributesignaturePolicyIdentifier.
-
isIgnoreGracePeriod
public final boolean isIgnoreGracePeriod()
Gets the value of the attributeignoreGracePeriod.- Returns:
- the value of the attribute
ignoreGracePeriod.
-
setIgnoreGracePeriod
public final void setIgnoreGracePeriod(boolean ignoreGracePeriodParam)
Sets the value of the attributeignoreGracePeriod.- Parameters:
ignoreGracePeriodParam- The value for the attributeignoreGracePeriod.
-
getDocumentHash
public final DocumentHash getDocumentHash()
Gets the value of the attributedocumentHash.- Returns:
- the value of the attribute
documentHash.
-
setDocumentHash
public final void setDocumentHash(DocumentHash documentHashParam)
Sets the value of the attributedocumentHash.- Parameters:
documentHashParam- The value for the attributedocumentHash.
-
-