Lines Matching defs:opmode
100 protected final void engineInit(int opmode, Key key, SecureRandom random)
106 init(opmode, key, random);
122 protected final void engineInit(int opmode, Key key, AlgorithmParameters params,
128 init(opmode, key, random);
140 protected final void engineInit(int opmode, Key key, AlgorithmParameterSpec params,
146 init(opmode, key, random);
157 private void init(int opmode, Key key, SecureRandom random) throws InvalidKeyException {
158 switch (opmode) {
168 throw new InvalidParameterException("Unsupported opmode: " + opmode);
170 initKey(opmode, key);
798 static String opmodeToString(int opmode) {
799 switch (opmode) {
809 return String.valueOf(opmode);
819 * specified {@code opmode}.
823 protected abstract void initKey(int opmode, @Nullable Key key) throws InvalidKeyException;