Class DataToValidateDTO
java.lang.Object
eu.europa.esig.dss.ws.validation.dto.DataToValidateDTO
-
Constructor Summary
ConstructorDescriptionEmpty 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 strategyvoid
setEvidenceRecords
(List<RemoteDocument> evidenceRecords) Sets a list of detached evidence records applied to the signaturevoid
setOriginalDocuments
(List<RemoteDocument> originalDocuments) Sets the original (detached) documentsvoid
setPolicy
(RemoteDocument policy) Sets the validation policyvoid
setSignatureId
(String signatureId) Sets the signature id to get original documents forvoid
setSignedDocument
(RemoteDocument signedDocument) Sets the signed documentvoid
setTokenExtractionStrategy
(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
-RemoteDocument
to validateoriginalDocument
-RemoteDocument
detached documentpolicy
-RemoteDocument
validation policy
-
DataToValidateDTO
public DataToValidateDTO(RemoteDocument signedDocument, List<RemoteDocument> originalDocuments, RemoteDocument policy) Constructor to validate a document- Parameters:
signedDocument
-RemoteDocument
to validateoriginalDocuments
- list ofRemoteDocument
detached documentspolicy
-RemoteDocument
validation 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
-RemoteDocument
to validateoriginalDocuments
- list ofRemoteDocument
detached documentspolicy
-RemoteDocument
validation policyevidenceRecords
- list ofRemoteDocument
detached evidence records
-
DataToValidateDTO
public DataToValidateDTO(RemoteDocument signedDocument, RemoteDocument originalDocument, RemoteDocument policy, String signatureId) Constructor to extract original documents- Parameters:
signedDocument
-RemoteDocument
to validateoriginalDocument
-RemoteDocument
detached documentpolicy
-RemoteDocument
validation policysignatureId
-String
to extract original documents for
-
DataToValidateDTO
public DataToValidateDTO(RemoteDocument signedDocument, List<RemoteDocument> originalDocuments, RemoteDocument policy, String signatureId) Constructor to extract original documents- Parameters:
signedDocument
-RemoteDocument
to validateoriginalDocuments
- list ofRemoteDocument
detached documentspolicy
-RemoteDocument
validation policysignatureId
-String
to 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
-RemoteDocument
to validateoriginalDocuments
- list ofRemoteDocument
detached documentspolicy
-RemoteDocument
validation policyevidenceRecords
- list ofRemoteDocument
detached evidence recordssignatureId
-String
to 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
RemoteDocument
s
-
setOriginalDocuments
Sets the original (detached) documents- Parameters:
originalDocuments
- a list ofRemoteDocument
s
-
getPolicy
-
setPolicy
Sets the validation policy- Parameters:
policy
-RemoteDocument
-
getEvidenceRecords
Gets a list of detached evidence records- Returns:
- a list of
RemoteDocument
s
-
setEvidenceRecords
Sets a list of detached evidence records applied to the signature- Parameters:
evidenceRecords
- a list ofRemoteDocument
s
-
getTokenExtractionStrategy
Gets a token extraction strategy- Returns:
TokenExtractionStrategy
-
setTokenExtractionStrategy
Sets a token extraction strategy- Parameters:
tokenExtractionStrategy
-TokenExtractionStrategy
-
getSignatureId
-
setSignatureId
-