public int getBlockSize() { return c.getBlockSize(); } }
protected int engineGetBlockSize() { return cipher.getBlockSize(); }
/** * Constructs a CipherOutputStream from an OutputStream and a * BufferedBlockCipher. */ public CipherOutputStream( OutputStream os, BufferedBlockCipher cipher) { super(os); this.bufferedBlockCipher = cipher; this.buf = new byte[cipher.getBlockSize()]; }
protected int engineGetBlockSize() { return cipher.getBlockSize(); }
public int getBlockSize() { return c.getBlockSize(); }
public int engineGetBlockSize() { if (engine.getCipher() != null) { return engine.getCipher().getBlockSize(); } else { return 0; } }
public int engineGetBlockSize() { if (engine.getCipher() != null) { return engine.getCipher().getBlockSize(); } else { return 0; } }
CipherParameters params = PKCS12PBEUtils.createCipherParameters(algorithm, digest, engine.getBlockSize(), pbeParams, password);
CipherParameters params = PKCS12PBEUtils.createCipherParameters(algorithm, digest, engine.getBlockSize(), pbeParams, password);
int blockSize = getBlockSize(); int length = getUpdateOutputSize(len);
int blockSize = getBlockSize(); int length = getUpdateOutputSize(len);
new OFBBlockCipher(cipher.getUnderlyingCipher(), 8 * cipher.getBlockSize())); new CFBBlockCipher(cipher.getUnderlyingCipher(), 8 * cipher.getBlockSize()));
new OFBBlockCipher(cipher.getUnderlyingCipher(), 8 * cipher.getBlockSize())); new CFBBlockCipher(cipher.getUnderlyingCipher(), 8 * cipher.getBlockSize()));