Searched defs:opmode (Results 1 - 4 of 4) sorted by path

/frameworks/base/keystore/java/android/security/keystore/
H A DAndroidKeyStoreAuthenticatedAESCipherSpi.java274 protected final void initKey(int opmode, Key key) throws InvalidKeyException { argument
H A DAndroidKeyStoreCipherSpiBase.java100 protected final void engineInit(int opmode, Key key, SecureRandom random) argument
106 init(opmode, key, random);
122 protected final void engineInit(int opmode, Key key, AlgorithmParameters params, argument
128 init(opmode, key, random);
140 protected final void engineInit(int opmode, Key key, AlgorithmParameterSpec params, argument
146 init(opmode, key, random);
157 private void init(int opmode, Key key, SecureRandom random) throws InvalidKeyException { argument
158 switch (opmode) {
168 throw new InvalidParameterException("Unsupported opmode: " + opmode);
798 opmodeToString(int opmode) argument
823 initKey(int opmode, @Nullable Key key) argument
[all...]
H A DAndroidKeyStoreRSACipherSpi.java357 protected final void initKey(int opmode, Key key) throws InvalidKeyException { argument
376 switch (opmode) {
385 "RSA private keys cannot be used with " + opmodeToString(opmode)
393 "RSA private keys cannot be used with opmode: " + opmode);
397 switch (opmode) {
405 "RSA public keys cannot be used with " + opmodeToString(opmode)
408 + ". Only RSA private keys supported for this opmode.");
412 "RSA public keys cannot be used with " + opmodeToString(opmode));
H A DAndroidKeyStoreUnauthenticatedAESCipherSpi.java126 protected final void initKey(int opmode, Key key) throws InvalidKeyException { argument

Completed in 202 milliseconds