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 fromthis
Note: used to contain manifest entriesDigest
getDigest()
String
getName()
List<String>
getTransformationNames()
Returns a list of transformations contained in thereference
DigestMatcherType
getType()
boolean
isFound()
boolean
isIntact()
void
setDigest(Digest digest)
void
setFound(boolean found)
void
setIntact(boolean intact)
void
setName(String name)
void
setTransformationNames(List<String> transforms)
void
setType(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 fromthis
Note: used to contain manifest entries- Returns:
- list of
ReferenceValidation
s
-
getTransformationNames
Returns a list of transformations contained in thereference
- Returns:
- list of transformation names
-
setTransformationNames
-