Source: constants/cert-rep-change-event-prop.js

/**
 * @module CertRepChangeEventProp
 * @description The standard set of properties that are included with a
 * `certificate reputation change event`. See the
 * {@link TieClient#addCertificateReputationChangeCallback} function for more
 * information about certificate reputation change events.
 *
 * | Name            | Description |
 * | --------------- | ----------- |
 * | HASHES          | A object of hashes that identify the certificate whose reputation has changed. |
 * | NEW_REPUTATIONS | The new `Reputations` for the certificate whose reputation has changed, as an object. |
 * | OLD_REPUTATIONS | The previous `Reputations` for the certificate whose reputation has changed, as an object. |
 * | PUBLIC_KEY_SHA1 | The SHA-1 of the certificate's public key. |
 * | UPDATE_TIME     | The time the reputation change occurred (Epoch time). |
 */

'use strict'

var RepChangeEventProp = require('./rep-change-event-prop')

module.exports = {
  /**
   * A object of hashes that identify the certificate whose reputation has
   * changed. The `key` for each property is the `hash type` and the
   * corresponding `value` is the `hex` representation of the hash value. See
   * [HashType]{@link module:HashType} for the list of `hash type` constants.
   */
  HASHES: RepChangeEventProp.HASHES,
  /**
   * The new `Reputations` for the certificate whose reputation has changed, as
   * an object.
   */
  NEW_REPUTATIONS: RepChangeEventProp.NEW_REPUTATIONS,
  /**
   * The previous `Reputations` for the certificate whose reputation has
   * changed, as an object.
   */
  OLD_REPUTATIONS: RepChangeEventProp.OLD_REPUTATIONS,
  /**
   * The SHA-1 of the certificate's public key.
   */
  PUBLIC_KEY_SHA1: 'publicKeySha1',
  /**
   * The time the reputation change occurred (Epoch time).
   *
   * See the [EpochUtil]{@link module:EpochUtil} module for helper methods used
   * to parse the Epoch time.
   */
  UPDATE_TIME: RepChangeEventProp.UPDATE_TIME
}