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 020public class AuthData { 021 022 023 /** 024 * <div class="zh">已得到的证书</div> <div class="en">obtained certificate</div> 025 */ 026 private final byte[] certData; 027 028 /** 029 * <div class="zh">已得到的公钥</div> <div class="en">obtained public key</div> 030 */ 031 private final byte[] pubKey; 032 033 public AuthData(byte[] certData, byte[] pubKey){ 034 this.certData = certData; 035 this.pubKey = pubKey; 036 } 037 038 /** 039 * <div class="zh">获取已得到的证书</div> <div class="en">Get the obtained certificate</div> 040 */ 041 public byte[] getCertData() { 042 return certData; 043 } 044 045 /** 046 * <div class="zh">获取已得到的公钥</div> <div class="en">Get the obtained public key</div> 047 */ 048 public byte[] getPubKey() { 049 return pubKey; 050 } 051}