protected void engineInit(int opmode, Key key, AlgorithmParameters params, SecureRandom random)
     throws InvalidKeyException, InvalidAlgorithmParameterException {
   core.implInit(opmode, key, params, random, cipher);
 }
 protected void engineInit(int opmode, Key key, SecureRandom random) throws InvalidKeyException {
   core.implInit(opmode, key, random, cipher);
 }
 protected byte[] engineWrap(Key key) throws IllegalBlockSizeException, InvalidKeyException {
   return core.implWrap(key);
 }
 protected AlgorithmParameters engineGetParameters() {
   return core.implGetParameters();
 }
 protected byte[] engineUpdate(byte[] in, int inOff, int inLen) {
   return core.implUpdate(in, inOff, inLen);
 }
 protected int engineUpdate(byte[] in, int inOff, int inLen, byte[] out, int outOff)
     throws ShortBufferException {
   return core.implUpdate(in, inOff, inLen, out, outOff);
 }
 protected void engineSetPadding(String paddingScheme) throws NoSuchPaddingException {
   core.implSetPadding(paddingScheme);
 }
 protected Key engineUnwrap(byte[] wrappedKey, String wrappedKeyAlgorithm, int wrappedKeyType)
     throws InvalidKeyException, NoSuchAlgorithmException {
   return core.implUnwrap(wrappedKey, wrappedKeyAlgorithm, wrappedKeyType);
 }
 protected int engineGetOutputSize(int inLen) {
   return core.implGetOutputSize(inLen);
 }
Example #10
0
 protected void engineSetMode(String mode) throws NoSuchAlgorithmException {
   core.implSetMode(mode);
 }
Example #11
0
 protected int engineGetKeySize(Key key) throws InvalidKeyException {
   return core.implGetKeySize(key);
 }
Example #12
0
 protected byte[] engineGetIV() {
   return core.implGetIV();
 }
Example #13
0
 protected int engineGetBlockSize() {
   return core.implGetBlockSize();
 }
Example #14
0
 protected int engineDoFinal(byte[] in, int inOff, int inLen, byte[] out, int outOff)
     throws ShortBufferException, IllegalBlockSizeException, BadPaddingException {
   return core.implDoFinal(in, inOff, inLen, out, outOff);
 }
Example #15
0
 protected byte[] engineDoFinal(byte[] in, int inOff, int inLen)
     throws IllegalBlockSizeException, BadPaddingException {
   return core.implDoFinal(in, inOff, inLen);
 }