Class 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 Detail

    • Constructor Detail

      • ReferenceValidation

        public ReferenceValidation()
    • Method Detail

      • 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 from this Note: used to contain manifest entries
        Returns:
        list of ReferenceValidations
      • getTransformationNames

        public List<String> getTransformationNames()
        Returns a list of transformations contained in the reference
        Returns:
        list of transformation names
      • setTransformationNames

        public void setTransformationNames​(List<String> transforms)