DebugLogMaskKindEnum.cs 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  1. namespace Wayne.Lib.Log
  2. {
  3. /// <summary>
  4. /// Debug log masking kinds.
  5. /// </summary>
  6. public enum DebugLogMaskKind
  7. {
  8. /// <summary>
  9. /// No masking of the data.
  10. /// </summary>
  11. None,
  12. /// <summary>
  13. /// Remove the data completely (for instance an XML node).
  14. /// </summary>
  15. Remove,
  16. /// <summary>
  17. /// Clears the value of the data.
  18. /// </summary>
  19. Empty,
  20. /// <summary>
  21. /// Mask all data.
  22. /// </summary>
  23. Mask,
  24. /// <summary>
  25. /// Mask all digits in the data.
  26. /// </summary>
  27. MaskDigits,
  28. /// <summary>
  29. /// Mask all digits in the data but append the hashed value at the end for comparision.
  30. /// </summary>
  31. MaskDigitsAppendHash,
  32. /// <summary>
  33. /// Mask all hex digits in the data.
  34. /// </summary>
  35. MaskHex,
  36. /// <summary>
  37. /// Mask all hex digits in the data but append the hashed value at the end for comparision.
  38. /// </summary>
  39. MaskHexAppendHash,
  40. /// <summary>
  41. /// Perform a standard PAN masking of the data (keeping the first and last four characters, masking the middle part).
  42. /// </summary>
  43. MaskPan,
  44. /// <summary>
  45. /// Perform a standard PAN masking of the data (keeping the first six and last four characters, masking the middle part).
  46. /// </summary>
  47. MaskPan64,
  48. /// <summary>
  49. /// Perform a standard PAN masking of trackdata (keeping the first six and last four characters, masking the middle part).
  50. /// </summary>
  51. MaskTrack64,
  52. /// <summary>
  53. /// Same as MaskPan but appending a hashed value at the end for comparision.
  54. /// </summary>
  55. MaskPanAppendHash,
  56. /// <summary>
  57. /// Locates any PAN number(s) (nine consecutive digits or more) and masks them as the MaskPan-option.
  58. /// </summary>
  59. MaskEmbeddedPan,
  60. /// <summary>
  61. /// Same as MaskEmbeddedPan but appending a hashed value at the end for comparision.
  62. /// </summary>
  63. MaskEmbeddedPanAppendHash,
  64. }
  65. }