1 17 18 package org.apache.geronimo.util.crypto; 19 20 21 24 public interface BlockCipher 25 { 26 35 public void init(boolean forEncryption, CipherParameters params) 36 throws IllegalArgumentException ; 37 38 43 public String getAlgorithmName(); 44 45 50 public int getBlockSize(); 51 52 65 public int processBlock(byte[] in, int inOff, byte[] out, int outOff) 66 throws DataLengthException, IllegalStateException ; 67 68 72 public void reset(); 73 } 74 | Popular Tags |