Пример #1
0
 protected void engineInit(int opmode, Key key, AlgorithmParameters params, SecureRandom random)
     throws InvalidKeyException, InvalidAlgorithmParameterException {
   core.implInit(opmode, key, params, random, cipher);
 }
Пример #2
0
 protected void engineInit(int opmode, Key key, SecureRandom random) throws InvalidKeyException {
   core.implInit(opmode, key, random, cipher);
 }
Пример #3
0
 protected byte[] engineWrap(Key key) throws IllegalBlockSizeException, InvalidKeyException {
   return core.implWrap(key);
 }
Пример #4
0
 protected AlgorithmParameters engineGetParameters() {
   return core.implGetParameters();
 }
Пример #5
0
 protected byte[] engineUpdate(byte[] in, int inOff, int inLen) {
   return core.implUpdate(in, inOff, inLen);
 }
Пример #6
0
 protected int engineUpdate(byte[] in, int inOff, int inLen, byte[] out, int outOff)
     throws ShortBufferException {
   return core.implUpdate(in, inOff, inLen, out, outOff);
 }
Пример #7
0
 protected void engineSetPadding(String paddingScheme) throws NoSuchPaddingException {
   core.implSetPadding(paddingScheme);
 }
Пример #8
0
 protected Key engineUnwrap(byte[] wrappedKey, String wrappedKeyAlgorithm, int wrappedKeyType)
     throws InvalidKeyException, NoSuchAlgorithmException {
   return core.implUnwrap(wrappedKey, wrappedKeyAlgorithm, wrappedKeyType);
 }
Пример #9
0
 protected int engineGetOutputSize(int inLen) {
   return core.implGetOutputSize(inLen);
 }
Пример #10
0
 protected void engineSetMode(String mode) throws NoSuchAlgorithmException {
   core.implSetMode(mode);
 }
Пример #11
0
 protected int engineGetKeySize(Key key) throws InvalidKeyException {
   return core.implGetKeySize(key);
 }
Пример #12
0
 protected byte[] engineGetIV() {
   return core.implGetIV();
 }
Пример #13
0
 protected int engineGetBlockSize() {
   return core.implGetBlockSize();
 }
Пример #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);
 }
Пример #15
0
 protected byte[] engineDoFinal(byte[] in, int inOff, int inLen)
     throws IllegalBlockSizeException, BadPaddingException {
   return core.implDoFinal(in, inOff, inLen);
 }