类 OpCipher

java.lang.Object
com.gdxsoft.easyweb.utils.OpCipher

public class OpCipher extends Object
Inner class for BouncyCastle encrypt/decrypt
  • 构造器详细资料

    • OpCipher

      public OpCipher()
  • 方法详细资料

    • processBytes

      public byte[] processBytes(byte[] source) throws org.bouncycastle.crypto.DataLengthException, IllegalStateException, org.bouncycastle.crypto.InvalidCipherTextException, IllegalBlockSizeException, BadPaddingException
      抛出:
      org.bouncycastle.crypto.DataLengthException
      IllegalStateException
      org.bouncycastle.crypto.InvalidCipherTextException
      IllegalBlockSizeException
      BadPaddingException
    • getParant

      public UAes getParant()
    • isEncrypt

      public boolean isEncrypt()
    • getCipher

      public Cipher getCipher()
    • getCipherBufferBlock

      public org.bouncycastle.crypto.BufferedBlockCipher getCipherBufferBlock()
    • getAeadBlockCipher

      public org.bouncycastle.crypto.modes.AEADBlockCipher getAeadBlockCipher()
    • getIv

      public byte[] getIv()
    • getKey

      public byte[] getKey()