Home | History | Annotate | Download | only in util
      1 package org.bouncycastle.jcajce.provider.symmetric.util;
      2 
      3 import java.security.AlgorithmParameterGeneratorSpi;
      4 import java.security.SecureRandom;
      5 
      6 public abstract class BaseAlgorithmParameterGenerator
      7     extends AlgorithmParameterGeneratorSpi
      8 {
      9     protected SecureRandom  random;
     10     protected int           strength = 1024;
     11 
     12     protected void engineInit(
     13         int             strength,
     14         SecureRandom    random)
     15     {
     16         this.strength = strength;
     17         this.random = random;
     18     }
     19 }
     20