org.tinygroup.weblayer.webcontext.session.encrypter.impl
public class AesEncrypter extends AbstractJceEncrypter
| Modifier and Type | Field and 描述 |
|---|---|
static String |
ALG_NAME |
static int |
DEFAULT_KEY_SIZE |
DEFAULT_POOL_SIZE| Constructor and 描述 |
|---|
AesEncrypter() |
| Modifier and Type | Method and 描述 |
|---|---|
protected Cipher |
createCipher(int mode) |
String |
getKey() |
int |
getKeySize() |
protected void |
init() |
void |
setKey(String key) |
void |
setKeySize(int keySize) |
String |
toString() |
decrypt, encrypt, getCipher, getPoolSize, returnCipher, setPoolSizeafterPropertiesSet, assertInitialized, destroy, dispose, getBeanDescription, getBeanDescription, getBeanInterface, getBeanName, isInitialized, postDispose, postInit, preDispose, preInit, resolveBeanInterface, setBeanNamepublic static final int DEFAULT_KEY_SIZE
public String getKey()
public void setKey(String key)
public int getKeySize()
public void setKeySize(int keySize)
protected void init()
throws Exception
init 类 {1} 中的 {0} BeanSupportExceptionprotected Cipher createCipher(int mode) throws Exception
createCipher 类 {1} 中的 {0} AbstractJceEncrypterExceptionpublic String toString()
toString 类 {1} 中的 {0} BeanSupportCopyright © 2006–2015 TinyGroup. All rights reserved.