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)
-
-
-
Method Detail
-
getType
public DigestMatcherType getType()
-
setType
public void setType(DigestMatcherType type)
-
isFound
public boolean isFound()
-
setFound
public void setFound(boolean found)
-
isIntact
public boolean isIntact()
-
setIntact
public void setIntact(boolean intact)
-
getDigest
public Digest getDigest()
-
setDigest
public void setDigest(Digest digest)
-
getName
public String getName()
-
setName
public void setName(String name)
-
getDependentValidations
public List<ReferenceValidation> getDependentValidations()
Returns a list of dependent validations fromthisNote: used to contain manifest entries- Returns:
- list of
ReferenceValidations
-
getTransformationNames
public List<String> getTransformationNames()
Returns a list of transformations contained in thereference- Returns:
- list of transformation names
-
-