Enum Class AuditIntegrityReport.Status

java.lang.Object
java.lang.Enum<AuditIntegrityReport.Status>
zeroecho.pki.api.audit.AuditIntegrityReport.Status
All Implemented Interfaces:
Serializable, Comparable<AuditIntegrityReport.Status>, Constable
Enclosing class:
AuditIntegrityReport

public static enum AuditIntegrityReport.Status extends Enum<AuditIntegrityReport.Status>
Closed classification of an audit integrity verification.
  • Enum Constant Details

    • INTACT

      public static final AuditIntegrityReport.Status INTACT
      The chain is contiguous, correctly linked, and matches the expected head.
    • RECORD_MUTATED

      public static final AuditIntegrityReport.Status RECORD_MUTATED
      A record's recomputed hash does not match its stored hash (content altered).
    • CHAIN_BROKEN

      public static final AuditIntegrityReport.Status CHAIN_BROKEN
      A record's stored previous-hash does not link to the prior record (insertion/reorder).
    • SEQUENCE_GAP

      public static final AuditIntegrityReport.Status SEQUENCE_GAP
      The sequence is not contiguous from zero (a record was deleted).
    • DUPLICATE_SEQUENCE

      public static final AuditIntegrityReport.Status DUPLICATE_SEQUENCE
      The same sequence appears more than once (a record was duplicated).
    • HEAD_MISMATCH

      public static final AuditIntegrityReport.Status HEAD_MISMATCH
      The chain is internally consistent but the head differs from the trusted anchor (truncation).
  • Method Details

    • values

      public static AuditIntegrityReport.Status[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static AuditIntegrityReport.Status valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null