/libcore/luni/src/test/java/libcore/javax/crypto/ |
D | MockCipherSpi.java | 104 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/ |
D | Cipher.java | 346 private int opmode = 0; field in Cipher 765 private void chooseProvider(InitType initType, int opmode, Key key, in chooseProvider() argument 771 final InitParams initParams = new InitParams(initType, opmode, key, random, in chooseProvider() 1010 private static void checkOpmode(int opmode) { in checkOpmode() argument 1011 if ((opmode < ENCRYPT_MODE) || (opmode > UNWRAP_MODE)) { in checkOpmode() 1016 private static String getOpmodeString(int opmode) { in getOpmodeString() argument 1017 switch (opmode) { in getOpmodeString() 1083 public final void init(int opmode, Key key) throws InvalidKeyException { in init() argument 1084 init(opmode, key, JceSecurity.RANDOM); in init() 1136 public final void init(int opmode, Key key, SecureRandom random) in init() argument [all …]
|
D | CipherSpi.java | 354 protected abstract void engineInit(int opmode, Key key, in engineInit() argument 409 protected abstract void engineInit(int opmode, Key key, in engineInit() argument 465 protected abstract void engineInit(int opmode, Key key, in engineInit() argument
|
/libcore/ojluni/annotations/mmodule/javax/crypto/ |
D | Cipher.annotated.java | 65 public final void init(int opmode, java.security.Key key) throws java.security.InvalidKeyException … in init() argument 67 public final void init(int opmode, java.security.Key key, java.security.SecureRandom random) throws… in init() argument 69 public final void init(int opmode, java.security.Key key, java.security.spec.AlgorithmParameterSpec… in init() argument 71 public final void init(int opmode, java.security.Key key, java.security.spec.AlgorithmParameterSpec… in init() argument 73 public final void init(int opmode, java.security.Key key, java.security.AlgorithmParameters params)… in init() argument 75 public final void init(int opmode, java.security.Key key, java.security.AlgorithmParameters params,… in init() argument 77 public final void init(int opmode, java.security.cert.Certificate certificate) throws java.security… in init() argument 79 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/ |
D | MyCipher.java | 83 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/ |
D | CipherSpiTest.java | 85 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
|
D | CipherOutputStream1Test.java | 251 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
|