Class ResourceFingerprintVisitor

  • All Implemented Interfaces:
    Visitor

    public class ResourceFingerprintVisitor
    extends PathAwareVisitor
    Compute a cryptographic hash of the visited nodes, skipping those which may be altered by the persistence layer.
    • Constructor Detail

      • ResourceFingerprintVisitor

        public ResourceFingerprintVisitor​(byte[] salt)
        Public constructor. Uses the given salt
        Parameters:
        salt -
      • ResourceFingerprintVisitor

        public ResourceFingerprintVisitor​(SaltHash baseline)
        Public constructor. Uses the salt from the given SaltHash Preferred, to avoid confusion between salt and hash
        Parameters:
        baseline -
      • ResourceFingerprintVisitor

        public ResourceFingerprintVisitor()
        Public constructor. Generates a new salt