001 /* 002 * =========================================================================================== 003 * = COPYRIGHT 004 * PAX Computer Technology (Shenzhen) Co., Ltd. PROPRIETARY INFORMATION 005 * This software is supplied under the terms of a license agreement or nondisclosure 006 * agreement with PAX Computer Technology (Shenzhen) Co., Ltd. and may not be copied or 007 * disclosed except in accordance with the terms in that agreement. 008 * Copyright (C) 2017-2023 PAX Computer Technology (Shenzhen) Co., Ltd. All rights reserved. 009 * Description: // Detail description about the function of this module, 010 * // interfaces with the other modules, and dependencies. 011 * Revision History: 012 * Date Author Action 013 * 2017/04/01 PAX Create/Add/Modify/Delete 014 * =========================================================================================== 015 */ 016 017package com.pax.dal.entity; 018 019public enum EDUKPTDesMode { 020 /** 021 * <div class="zh"> ECB 解密 </div> <div class="en"> ECB decryption </div> 022 */ 023 ECB_DECRYPTION((byte) 0x00), 024 /** 025 * <div class="zh"> ECB 加密 </div> <div class="en"> ECB encryption </div> 026 */ 027 ECB_ENCRYPTION((byte) 0x01), 028 /** 029 * <div class="zh"> CBC 解密 </div> <div class="en"> CBC decryption </div> 030 */ 031 CBC_DECRYPTION((byte) 0x02), 032 /** 033 * <div class="zh"> CBC 加密 </div> <div class="en"> CBC encryption </div> 034 */ 035 CBC_ENCRYPTION((byte) 0x03); 036 037 private byte dukptDesMode; 038 039 private EDUKPTDesMode(byte dukptDesMode) { 040 this.dukptDesMode = dukptDesMode; 041 } 042 043 public byte getDUKPTDesMode() { 044 return dukptDesMode; 045 } 046}