Exemplo n.º 1
0
 void implInit(int opmode, Key key, SecureRandom random, CipherSpi cipherImpl)
     throws InvalidKeyException {
   try {
     implInit(opmode, key, (AlgorithmParameterSpec) null, random, cipherImpl);
   } catch (InvalidAlgorithmParameterException iape) {
     throw new InvalidKeyException("requires PBE parameters");
   }
 }
Exemplo n.º 2
0
 void implInit(
     int opmode, Key key, AlgorithmParameters params, SecureRandom random, CipherSpi cipherImpl)
     throws InvalidKeyException, InvalidAlgorithmParameterException {
   AlgorithmParameterSpec paramSpec = null;
   if (params != null) {
     try {
       paramSpec = params.getParameterSpec(PBEParameterSpec.class);
     } catch (InvalidParameterSpecException ipse) {
       throw new InvalidAlgorithmParameterException("requires PBE parameters");
     }
   }
   implInit(opmode, key, paramSpec, random, cipherImpl);
 }
Exemplo n.º 3
0
 protected void engineInit(int opmode, Key key, SecureRandom random) throws InvalidKeyException {
   core.implInit(opmode, key, random, cipher);
 }
Exemplo n.º 4
0
 protected void engineInit(int opmode, Key key, AlgorithmParameters params, SecureRandom random)
     throws InvalidKeyException, InvalidAlgorithmParameterException {
   core.implInit(opmode, key, params, random, cipher);
 }
Exemplo n.º 5
0
 void implInit(int opmode, Key key, SecureRandom random) throws InvalidKeyException {
   implInit(opmode, key, random, null);
 }
Exemplo n.º 6
0
 void implInit(int opmode, Key key, AlgorithmParameters params, SecureRandom random)
     throws InvalidKeyException, InvalidAlgorithmParameterException {
   implInit(opmode, key, params, random, null);
 }