public final void init(int opmode, Key key) throws InvalidKeyException
public final void init(int opmode, Certificate certificate) throws InvalidKeyException
  public final void init(int opmode, Key key) throws InvalidKeyException  {    state = opmode;    if (cipherSpi != null)      {        cipherSpi.engineInit(opmode, key, new SecureRandom());      }  }