org.tinygroup.weblayer.webcontext.session.encrypter.impl
类 AesEncrypter

java.lang.Object
  继承者 org.tinygroup.support.BeanSupport
      继承者 org.tinygroup.weblayer.webcontext.session.encrypter.AbstractJceEncrypter
          继承者 org.tinygroup.weblayer.webcontext.session.encrypter.impl.AesEncrypter
所有已实现的接口:
org.springframework.beans.factory.BeanNameAware, org.springframework.beans.factory.DisposableBean, org.springframework.beans.factory.InitializingBean, Encrypter

public class AesEncrypter
extends AbstractJceEncrypter


字段摘要
static String ALG_NAME
           
static int DEFAULT_KEY_SIZE
           
 
从类 org.tinygroup.weblayer.webcontext.session.encrypter.AbstractJceEncrypter 继承的字段
DEFAULT_POOL_SIZE
 
构造方法摘要
AesEncrypter()
           
 
方法摘要
protected  Cipher createCipher(int mode)
           
 String getKey()
           
 int getKeySize()
           
protected  void init()
           
 void setKey(String key)
           
 void setKeySize(int keySize)
           
 String toString()
           
 
从类 org.tinygroup.weblayer.webcontext.session.encrypter.AbstractJceEncrypter 继承的方法
decrypt, encrypt, getCipher, getPoolSize, returnCipher, setPoolSize
 
从类 org.tinygroup.support.BeanSupport 继承的方法
afterPropertiesSet, assertInitialized, destroy, dispose, getBeanDescription, getBeanDescription, getBeanInterface, getBeanName, isInitialized, postDispose, postInit, preDispose, preInit, resolveBeanInterface, setBeanName
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

字段详细信息

ALG_NAME

public static final String ALG_NAME
另请参见:
常量字段值

DEFAULT_KEY_SIZE

public static final int DEFAULT_KEY_SIZE
另请参见:
常量字段值
构造方法详细信息

AesEncrypter

public AesEncrypter()
方法详细信息

getKey

public String getKey()

setKey

public void setKey(String key)

getKeySize

public int getKeySize()

setKeySize

public void setKeySize(int keySize)

init

protected void init()
             throws Exception
覆盖:
BeanSupport 中的 init
抛出:
Exception

createCipher

protected Cipher createCipher(int mode)
                       throws Exception
指定者:
AbstractJceEncrypter 中的 createCipher
抛出:
Exception

toString

public String toString()
覆盖:
BeanSupport 中的 toString


Copyright © 2006–2014 开源组织. All rights reserved.