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 class RSARecoverInfo { 020 021 private byte[] data; 022 private byte[] keyInfo; 023 024 /** 025 * <div class="zh"> 加密或解密后的数据 </div> <div class="en"> get result </div> 026 * 027 * @return 028 */ 029 public byte[] getData() { 030 return data; 031 } 032 033 /** 034 * <div class="zh"> 加密或解密后的数据 </div> <div class="en"> set result </div> 035 * 036 * @param data 037 */ 038 public void setData(byte[] data) { 039 this.data = data; 040 } 041 042 /** 043 * <div class="zh"> -密钥信息,当keyInfo等于NULL时, 不输出密钥信息 </div> <div class="en"> key info </div> 044 * 045 * @return 046 */ 047 public byte[] getKeyInfo() { 048 return keyInfo; 049 } 050 051 /** 052 * <div class="zh"> -密钥信息,当keyInfo等于NULL时, 不输出密钥信息 </div> <div class="en"> key info </div> 053 * 054 * @param keyInfo 055 */ 056 public void setKeyInfo(byte[] keyInfo) { 057 this.keyInfo = keyInfo; 058 } 059 060 public RSARecoverInfo() { 061 data = new byte[0]; 062 keyInfo = new byte[0]; 063 } 064 065}