001package eu.righettod;
002
003/**
004 * Enumeration used by the method <code>SecurityUtils.ensureSerializedObjectIntegrity()</code> to define its working mode.
005 */
006public enum ProcessingMode {
007    /**
008     * Protection mode: Add the integrity HMAC to the linked serialized object.
009     */
010    PROTECT,
011
012    /**
013     * Validation of the protection mode: Verify the integrity HMAC against the linked serialized object.
014     */
015    VALIDATE
016}