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-? 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-09-05 uni.w Create 014 * =========================================================================================== 015 */ 016 017package com.pax.dal.pedkeyisolation; 018 019@Deprecated 020public interface IPedSlotAllocatorManager { 021 022 /** 023 * <div class="zh"> 获取索引分配器锁 </div> <div class="en"> get SlotAllocatorLock </div> 024 * 025 * @return 026 */ 027 int getSlotAllocatorLock(); 028 029 /** 030 * <div class="zh"> 释放索引分配器锁 </div> <div class="en"> release SlotAllocatorLock </div> 031 * 032 * @return 033 */ 034 int releaseSlotAllocatorLock(); 035 036 /** 037 * <div class="zh"> 获取TLK索引分配器 </div> <div class="en"> get TLKSlotAllocator </div> 038 * 039 * @return {@link ISlotAllocator} 040 */ 041 ISlotAllocator getTLKSlotAllocator(); 042 043 /** 044 * <div class="zh"> 获取TIK索引分配器 </div> <div class="en"> get TIKSlotAllocator </div> 045 * 046 * @return {@link ISlotAllocator} 047 */ 048 ISlotAllocator getTIKSlotAllocator(); 049 050 /** 051 * <div class="zh"> 获取TMK索引分配器 </div> <div class="en"> get TMKSlotAllocator </div> 052 * 053 * @param tmkType 054 * <ul> 055 * <li>1:TMK</li> 056 * <li>2:SM_TMK</li> 057 * </ul> 058 * @return {@link ISlotAllocator} 059 */ 060 ISlotAllocator getTMKSlotAllocator(int tmkType); 061 062 /** 063 * <div class="zh"> 获取TWK索引分配器 </div> <div class="en"> get TWKSlotAllocator </div> 064 * 065 * @param twkType 066 * <ul> 067 * <li>1:TPK</li> 068 * <li>2:TAK</li> 069 * <li>3:TDK</li> 070 * <li>4:SM_TPK</li> 071 * <li>5:SM_TAK</li> 072 * <li>6:SM_TDK</li> 073 * </ul> 074 * @return {@link ISlotAllocator} 075 */ 076 ISlotAllocator getTWKSlotAllocator(int twkType); 077 078 /** 079 * <div class="zh"> 获取RSA索引分配器 </div> <div class="en"> get RSASlotAllocator </div> 080 * 081 * @return {@link ISlotAllocator} 082 */ 083 ISlotAllocator getRSASlotAllocator(); 084 085 /** 086 * <div class="zh"> 获取AES索引分配器 </div> <div class="en"> get AESSlotAllocator </div> 087 * 088 * @return {@link ISlotAllocator} 089 */ 090 ISlotAllocator getAESSlotAllocator(); 091 092 /** 093 * <div class="zh"> 获取SM2索引分配器 </div> <div class="en"> get SM2SlotAllocator </div> 094 * 095 * @param type 096 * <li>1:SM2PublicKey</li> 097 * <li>2:SM2PrivateKey</li> 098 * @return {@link ISlotAllocator} 099 */ 100 ISlotAllocator getSM2SlotAllocator(int type); 101 102}