Home
last modified time | relevance | path

Searched refs:opmode (Results 1 – 7 of 7) sorted by relevance

/libcore/luni/src/test/java/libcore/javax/crypto/
DMockCipherSpi.java104 protected void engineInit(int opmode, Key key, SecureRandom random) in engineInit() argument
110 protected void engineInit(int opmode, Key key, AlgorithmParameterSpec params, in engineInit() argument
116 protected void engineInit(int opmode, Key key, AlgorithmParameters params, in engineInit() argument
124 protected void engineInit(int opmode, Key key, SecureRandom random) in engineInit() argument
130 protected void engineInit(int opmode, Key key, AlgorithmParameterSpec params, in engineInit() argument
136 protected void engineInit(int opmode, Key key, AlgorithmParameters params, in engineInit() argument
144 protected void engineInit(int opmode, Key key, SecureRandom random) in engineInit() argument
150 protected void engineInit(int opmode, Key key, AlgorithmParameterSpec params, in engineInit() argument
156 protected void engineInit(int opmode, Key key, AlgorithmParameters params, in engineInit() argument
164 protected void engineInit(int opmode, Key key, SecureRandom random) in engineInit() argument
[all …]
/libcore/ojluni/src/main/java/javax/crypto/
DCipher.java365 private int opmode = 0; field in Cipher
784 private void chooseProvider(InitType initType, int opmode, Key key, in chooseProvider() argument
790 final InitParams initParams = new InitParams(initType, opmode, key, random, in chooseProvider()
1029 private static void checkOpmode(int opmode) { in checkOpmode() argument
1030 if ((opmode < ENCRYPT_MODE) || (opmode > UNWRAP_MODE)) { in checkOpmode()
1035 private static String getOpmodeString(int opmode) { in getOpmodeString() argument
1036 switch (opmode) { in getOpmodeString()
1102 public final void init(int opmode, Key key) throws InvalidKeyException { in init() argument
1103 init(opmode, key, JceSecurity.RANDOM); in init()
1155 public final void init(int opmode, Key key, SecureRandom random) in init() argument
[all …]
DCipherSpi.java355 protected abstract void engineInit(int opmode, Key key, in engineInit() argument
410 protected abstract void engineInit(int opmode, Key key, in engineInit() argument
466 protected abstract void engineInit(int opmode, Key key, in engineInit() argument
/libcore/ojluni/annotations/mmodule/javax/crypto/
DCipher.annotated.java69 public final void init(int opmode, java.security.Key key) throws java.security.InvalidKeyException … in init() argument
71 public final void init(int opmode, java.security.Key key, java.security.SecureRandom random) throws… in init() argument
73 public final void init(int opmode, java.security.Key key, java.security.spec.AlgorithmParameterSpec… in init() argument
75 public final void init(int opmode, java.security.Key key, java.security.spec.AlgorithmParameterSpec… in init() argument
77 public final void init(int opmode, java.security.Key key, java.security.AlgorithmParameters params)… in init() argument
79 public final void init(int opmode, java.security.Key key, java.security.AlgorithmParameters params,… in init() argument
81 public final void init(int opmode, java.security.cert.Certificate certificate) throws java.security… in init() argument
83 public final void init(int opmode, java.security.cert.Certificate certificate, java.security.Secure… in init() argument
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/support/
DMyCipher.java83 protected void engineInit(int opmode, Key key, SecureRandom random) in engineInit() argument
88 protected void engineInit(int opmode, Key key, in engineInit() argument
94 protected void engineInit(int opmode, Key key, AlgorithmParameters params, in engineInit() argument
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/
DCipherSpiTest.java85 protected void engineInit(int opmode, Key key, SecureRandom random) in engineInit() argument
87 super.engineInit(opmode, key, random); in engineInit()
91 protected void engineInit(int opmode, Key key, AlgorithmParameterSpec params, in engineInit() argument
93 super.engineInit(opmode, key, params, random); in engineInit()
97 protected void engineInit(int opmode, Key key, AlgorithmParameters params, in engineInit() argument
99 super.engineInit(opmode, key, params, random); in engineInit()
509 protected void engineInit(int opmode, Key key, SecureRandom random) in engineInit() argument
513 protected void engineInit(int opmode, Key key, in engineInit() argument
518 protected void engineInit(int opmode, Key key, AlgorithmParameters params, in engineInit() argument
DCipherOutputStream1Test.java251 protected void engineInit(int opmode, Key key, SecureRandom random) in engineInit() argument
257 protected void engineInit(int opmode, Key key, AlgorithmParameterSpec params, in engineInit() argument
264 protected void engineInit(int opmode, Key key, AlgorithmParameters params, in engineInit() argument