Package eu.europa.esig.dss.validation
Class ReferenceValidation
java.lang.Object
eu.europa.esig.dss.validation.ReferenceValidation
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
XAdESReferenceValidation
public class ReferenceValidation extends Object implements Serializable
This class is used to store individual reference validations.
For XAdES, that means reference tag(s) validation
For CAdES, that means message-digest validation
- See Also:
- Serialized Form
-
Field Summary
Fields Modifier and Type Field Description protected List<String>transforms -
Constructor Summary
Constructors Constructor Description ReferenceValidation() -
Method Summary
Modifier and Type Method Description List<ReferenceValidation>getDependentValidations()Returns a list of dependent validations fromthisNote: used to contain manifest entriesDigestgetDigest()StringgetName()List<String>getTransformationNames()Returns a list of transformations contained in thereferenceDigestMatcherTypegetType()booleanisFound()booleanisIntact()voidsetDigest(Digest digest)voidsetFound(boolean found)voidsetIntact(boolean intact)voidsetName(String name)voidsetTransformationNames(List<String> transforms)voidsetType(DigestMatcherType type)
-
Field Details
-
Constructor Details
-
ReferenceValidation
public ReferenceValidation()
-
-
Method Details
-
getType
-
setType
-
isFound
public boolean isFound() -
setFound
public void setFound(boolean found) -
isIntact
public boolean isIntact() -
setIntact
public void setIntact(boolean intact) -
getDigest
-
setDigest
-
getName
-
setName
-
getDependentValidations
Returns a list of dependent validations fromthisNote: used to contain manifest entries- Returns:
- list of
ReferenceValidations
-
getTransformationNames
Returns a list of transformations contained in thereference- Returns:
- list of transformation names
-
setTransformationNames
-