/dalvik/libcore/crypto/src/main/java/javax/crypto/ |
D | Cipher.java | 75 public static final int DECRYPT_MODE = 2; field in Cipher 545 if (opmode != ENCRYPT_MODE && opmode != DECRYPT_MODE in init() 638 if (opmode != ENCRYPT_MODE && opmode != DECRYPT_MODE in init() 736 if (opmode != ENCRYPT_MODE && opmode != DECRYPT_MODE in init() 829 if (opmode != ENCRYPT_MODE && opmode != DECRYPT_MODE in init() 859 } else if (opmode == DECRYPT_MODE && (!keyUsage[8])) { in init() 890 if (mode != ENCRYPT_MODE && mode != DECRYPT_MODE) { in update() 925 if (mode != ENCRYPT_MODE && mode != DECRYPT_MODE) { in update() 1013 if (mode != ENCRYPT_MODE && mode != DECRYPT_MODE) { in update() 1068 if (mode != ENCRYPT_MODE && mode != DECRYPT_MODE) { in update() [all …]
|
D | SealedObject.java | 176 cipher.init(Cipher.DECRYPT_MODE, key, params); in getObject() 178 cipher.init(Cipher.DECRYPT_MODE, key); in getObject() 274 cipher.init(Cipher.DECRYPT_MODE, key, params); in getObject() 276 cipher.init(Cipher.DECRYPT_MODE, key); in getObject()
|
D | EncryptedPrivateKeyInfo.java | 306 cipher.init(Cipher.DECRYPT_MODE, decryptKey); in getKeySpec() 308 cipher.init(Cipher.DECRYPT_MODE, decryptKey, algParameters); in getKeySpec() 368 cipher.init(Cipher.DECRYPT_MODE, decryptKey); in getKeySpec() 370 cipher.init(Cipher.DECRYPT_MODE, decryptKey, algParameters); in getKeySpec() 424 cipher.init(Cipher.DECRYPT_MODE, decryptKey); in getKeySpec() 426 cipher.init(Cipher.DECRYPT_MODE, decryptKey, algParameters); in getKeySpec()
|
/dalvik/libcore/crypto/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/func/ |
D | CipherSymmetricKeyThread.java | 61 cip.init(Cipher.DECRYPT_MODE, key, ivspec); in crypt() 67 cip.init(Cipher.DECRYPT_MODE, key); in crypt()
|
D | CipherRSAThread.java | 45 cip.init(Cipher.DECRYPT_MODE, kp.getPrivate()); in crypt()
|
D | CipherPBEThread.java | 55 cip.init(Cipher.DECRYPT_MODE, key, parSpec); in crypt()
|
/dalvik/libcore/crypto/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/ |
D | CipherTest.java | 552 c.init(Cipher.DECRYPT_MODE, k, iv); in test_update$BII() 679 c.init(Cipher.DECRYPT_MODE, cipherKeyDES, ap); in test_doFinal() 820 c.init(Cipher.DECRYPT_MODE, cipherKeyDES, ap); in testDoFinalbyteArrayintintbyteArrayint() 979 c.init(Cipher.DECRYPT_MODE, cipherKeyDES, ap); in test_doFinalLjava_nio_ByteBufferLjava_nio_ByteBuffer() 1037 c.init(Cipher.DECRYPT_MODE, cipherKeyDES, ap); in test_initILjava_security_KeyLjava_security_AlgorithmParameters() 1041 c.init(Cipher.DECRYPT_MODE, cipherKey, ap); in test_initILjava_security_KeyLjava_security_AlgorithmParameters() 1048 c.init(Cipher.DECRYPT_MODE, cipherKeyDES, (AlgorithmParameters)null); in test_initILjava_security_KeyLjava_security_AlgorithmParameters() 1079 c.init(Cipher.DECRYPT_MODE, cipherKeyDES, ap, sr); in test_initILjava_security_KeyLjava_security_AlgorithmParametersLjava_security_SecureRandom() 1083 c.init(Cipher.DECRYPT_MODE, cipherKey, ap, new SecureRandom()); in test_initILjava_security_KeyLjava_security_AlgorithmParametersLjava_security_SecureRandom() 1090 c.init(Cipher.DECRYPT_MODE, cipherKeyDES, (AlgorithmParameters)null, sr); in test_initILjava_security_KeyLjava_security_AlgorithmParametersLjava_security_SecureRandom() [all …]
|
D | SealedObjectTest.java | 267 cipher.init(Cipher.DECRYPT_MODE, key, ips); in testGetObject2() 318 cipher.init(Cipher.DECRYPT_MODE, key); in testGetObject3()
|
D | EncryptedPrivateKeyInfoTest.java | 1955 c.init(Cipher.DECRYPT_MODE, pubK == null ? k : pubK); in TestDataGenerator() 1957 c.init(Cipher.DECRYPT_MODE, pubK == null ? k : pubK, ap); in TestDataGenerator()
|
/dalvik/libcore/security/src/test/java/tests/targets/security/ |
D | CipherHelper.java | 121 Cipher.DECRYPT_MODE); in CipherAsymmetricCryptHelper() 137 Cipher.DECRYPT_MODE); in CipherSymmetricCryptHelper() 302 cipher.init(Cipher.DECRYPT_MODE, keyPair.getPrivate(), parameters); in test() 386 cipher.init(Cipher.DECRYPT_MODE, key, parameters); in test()
|
/dalvik/libcore/security/src/main/java/org/bouncycastle/jce/provider/ |
D | JCEIESCipher.java | 97 else if (state == Cipher.DECRYPT_MODE || state == Cipher.UNWRAP_MODE) in engineGetOutputSize() 213 case Cipher.DECRYPT_MODE: in engineInit()
|
D | JDKKeyStore.java | 229 …Cipher cipher = makePBECipher(KEY_CIPHER, Cipher.DECRYPT_MODE, password, salt, iterationCount… in getObject() 248 …cipher = makePBECipher("Broken" + KEY_CIPHER, Cipher.DECRYPT_MODE, password, salt, iterationCount); in getObject() 269 … cipher = makePBECipher("Old" + KEY_CIPHER, Cipher.DECRYPT_MODE, password, salt, iterationCount); in getObject() 994 …cipher = this.makePBECipher("Old" + STORE_CIPHER, Cipher.DECRYPT_MODE, password, salt, iterationCo… in engineLoad() 998 … cipher = this.makePBECipher(STORE_CIPHER, Cipher.DECRYPT_MODE, password, salt, iterationCount); in engineLoad()
|
D | JCEStreamCipher.java | 245 case Cipher.DECRYPT_MODE: in engineInit()
|
D | WrapCipherSpi.java | 168 case Cipher.DECRYPT_MODE: in engineInit()
|
D | JCERSACipher.java | 331 case Cipher.DECRYPT_MODE: in engineInit()
|
D | BrokenJCEBlockCipher.java | 319 case Cipher.DECRYPT_MODE: in engineInit()
|
D | JCEBlockCipher.java | 512 case Cipher.DECRYPT_MODE: in engineInit()
|
D | JDKPKCS12KeyStore.java | 646 cipher.init(Cipher.DECRYPT_MODE, k, defParams); in decryptData()
|
/dalvik/libcore/x-net/src/main/java/org/apache/harmony/xnet/provider/jsse/ |
D | ConnectionStateTLS.java | 215 decCipher.init(Cipher.DECRYPT_MODE, in ConnectionStateTLS() 222 decCipher.init(Cipher.DECRYPT_MODE, in ConnectionStateTLS()
|
D | ConnectionStateSSLv3.java | 188 decCipher.init(Cipher.DECRYPT_MODE, in ConnectionStateSSLv3() 197 decCipher.init(Cipher.DECRYPT_MODE, in ConnectionStateSSLv3()
|
D | DigitalSignature.java | 126 cipher.init(Cipher.DECRYPT_MODE, cert); in init()
|
D | ServerHandshakeImpl.java | 226 c.init(Cipher.DECRYPT_MODE, privKey); in unwrap()
|
/dalvik/libcore/crypto/src/main/java/org/apache/harmony/crypto/internal/nls/ |
D | messages.properties | 44 crypto.1B=The public key in the certificate cannot be used for DECRYPT_MODE
|