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
019/**
020 * <div class="zh"> 加解密定义  </div> <div class="en">crypt operate </div>
021 * 
022 * @author Steven.W
023 * 
024 */
025public enum ECryptOperate {
026
027    /**
028     * <div class="zh"> 加密 </div> <div class="en"> encrypt </div>
029     */
030    ENCRYPT((byte) 0x01),
031    /**
032     * <div class="zh"> 解密 </div> <div class="en"> decrypt </div>
033     */
034    DECRYPT((byte) 0x00);
035
036    private byte cryptOperate;
037
038    private ECryptOperate(byte cryptOperate) {
039        this.cryptOperate = cryptOperate;
040    }
041
042    public byte getCryptOperate() {
043        return cryptOperate;
044    }
045
046}