Class DataToValidateDTO
java.lang.Object
eu.europa.esig.dss.ws.validation.dto.DataToValidateDTO
-
Constructor Summary
ConstructorsConstructorDescriptionEmpty constructorDataToValidateDTO(RemoteDocument signedDocument, RemoteDocument originalDocument, RemoteDocument policy) Constructor to validate a documentDataToValidateDTO(RemoteDocument signedDocument, RemoteDocument originalDocument, RemoteDocument policy, String signatureId) Constructor to extract original documentsDataToValidateDTO(RemoteDocument signedDocument, List<RemoteDocument> originalDocuments, RemoteDocument policy) Constructor to validate a documentDataToValidateDTO(RemoteDocument signedDocument, List<RemoteDocument> originalDocuments, RemoteDocument policy, String signatureId) Constructor to extract original documentsDataToValidateDTO(RemoteDocument signedDocument, List<RemoteDocument> originalDocuments, RemoteDocument policy, List<RemoteDocument> evidenceRecords) Constructor to validate a document with applied evidence recordsDataToValidateDTO(RemoteDocument signedDocument, List<RemoteDocument> originalDocuments, RemoteDocument policy, List<RemoteDocument> evidenceRecords, String signatureId) Constructor to extract original documents for validation with evidence records -
Method Summary
Modifier and TypeMethodDescriptionGets a list of detached evidence recordsGets the original (detached) documentsGets the validation policyGets the signature id to get original documents forGets signed documentGets a token extraction strategyvoidsetEvidenceRecords(List<RemoteDocument> evidenceRecords) Sets a list of detached evidence records applied to the signaturevoidsetOriginalDocuments(List<RemoteDocument> originalDocuments) Sets the original (detached) documentsvoidsetPolicy(RemoteDocument policy) Sets the validation policyvoidsetSignatureId(String signatureId) Sets the signature id to get original documents forvoidsetSignedDocument(RemoteDocument signedDocument) Sets the signed documentvoidsetTokenExtractionStrategy(TokenExtractionStrategy tokenExtractionStrategy) Sets a token extraction strategy
-
Constructor Details
-
DataToValidateDTO
public DataToValidateDTO()Empty constructor -
DataToValidateDTO
public DataToValidateDTO(RemoteDocument signedDocument, RemoteDocument originalDocument, RemoteDocument policy) Constructor to validate a document- Parameters:
signedDocument-RemoteDocumentto validateoriginalDocument-RemoteDocumentdetached documentpolicy-RemoteDocumentvalidation policy
-
DataToValidateDTO
public DataToValidateDTO(RemoteDocument signedDocument, List<RemoteDocument> originalDocuments, RemoteDocument policy) Constructor to validate a document- Parameters:
signedDocument-RemoteDocumentto validateoriginalDocuments- list ofRemoteDocumentdetached documentspolicy-RemoteDocumentvalidation policy
-
DataToValidateDTO
public DataToValidateDTO(RemoteDocument signedDocument, List<RemoteDocument> originalDocuments, RemoteDocument policy, List<RemoteDocument> evidenceRecords) Constructor to validate a document with applied evidence records- Parameters:
signedDocument-RemoteDocumentto validateoriginalDocuments- list ofRemoteDocumentdetached documentspolicy-RemoteDocumentvalidation policyevidenceRecords- list ofRemoteDocumentdetached evidence records
-
DataToValidateDTO
public DataToValidateDTO(RemoteDocument signedDocument, RemoteDocument originalDocument, RemoteDocument policy, String signatureId) Constructor to extract original documents- Parameters:
signedDocument-RemoteDocumentto validateoriginalDocument-RemoteDocumentdetached documentpolicy-RemoteDocumentvalidation policysignatureId-Stringto extract original documents for
-
DataToValidateDTO
public DataToValidateDTO(RemoteDocument signedDocument, List<RemoteDocument> originalDocuments, RemoteDocument policy, String signatureId) Constructor to extract original documents- Parameters:
signedDocument-RemoteDocumentto validateoriginalDocuments- list ofRemoteDocumentdetached documentspolicy-RemoteDocumentvalidation policysignatureId-Stringto extract original documents for
-
DataToValidateDTO
public DataToValidateDTO(RemoteDocument signedDocument, List<RemoteDocument> originalDocuments, RemoteDocument policy, List<RemoteDocument> evidenceRecords, String signatureId) Constructor to extract original documents for validation with evidence records- Parameters:
signedDocument-RemoteDocumentto validateoriginalDocuments- list ofRemoteDocumentdetached documentspolicy-RemoteDocumentvalidation policyevidenceRecords- list ofRemoteDocumentdetached evidence recordssignatureId-Stringto extract original documents for
-
-
Method Details
-
getSignedDocument
-
setSignedDocument
Sets the signed document- Parameters:
signedDocument-RemoteDocument
-
getOriginalDocuments
Gets the original (detached) documents- Returns:
- a list of
RemoteDocuments
-
setOriginalDocuments
Sets the original (detached) documents- Parameters:
originalDocuments- a list ofRemoteDocuments
-
getPolicy
-
setPolicy
Sets the validation policy- Parameters:
policy-RemoteDocument
-
getEvidenceRecords
Gets a list of detached evidence records- Returns:
- a list of
RemoteDocuments
-
setEvidenceRecords
Sets a list of detached evidence records applied to the signature- Parameters:
evidenceRecords- a list ofRemoteDocuments
-
getTokenExtractionStrategy
Gets a token extraction strategy- Returns:
TokenExtractionStrategy
-
setTokenExtractionStrategy
Sets a token extraction strategy- Parameters:
tokenExtractionStrategy-TokenExtractionStrategy
-
getSignatureId
-
setSignatureId
-