类 OpCipher
java.lang.Object
com.gdxsoft.easyweb.utils.OpCipher
Inner class for BouncyCastle encrypt/decrypt
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明org.bouncycastle.crypto.modes.AEADBlockCipherorg.bouncycastle.crypto.BufferedBlockCipherbyte[]getIv()byte[]getKey()booleanbyte[]processBytes(byte[] source)
-
构造器详细资料
-
OpCipher
public OpCipher()
-
-
方法详细资料
-
processBytes
public byte[] processBytes(byte[] source) throws org.bouncycastle.crypto.DataLengthException, IllegalStateException, org.bouncycastle.crypto.InvalidCipherTextException, IllegalBlockSizeException, BadPaddingException - 抛出:
org.bouncycastle.crypto.DataLengthExceptionIllegalStateExceptionorg.bouncycastle.crypto.InvalidCipherTextExceptionIllegalBlockSizeExceptionBadPaddingException
-
getParant
-
isEncrypt
public boolean isEncrypt() -
getCipher
-
getCipherBufferBlock
public org.bouncycastle.crypto.BufferedBlockCipher getCipherBufferBlock() -
getAeadBlockCipher
public org.bouncycastle.crypto.modes.AEADBlockCipher getAeadBlockCipher() -
getIv
public byte[] getIv() -
getKey
public byte[] getKey()
-