Searched refs:decryptKey (Results 1 - 5 of 5) sorted by relevance
/libcore/luni/src/main/java/javax/crypto/ |
H A D | EncryptedPrivateKeyInfo.java | 266 * @param decryptKey 273 * if {@code decryptKey} is not usable to decrypt the encrypted 276 * if {@code decryptKey} is {@code null}. 278 public PKCS8EncodedKeySpec getKeySpec(Key decryptKey) throws NoSuchAlgorithmException, argument 280 if (decryptKey == null) { 281 throw new NullPointerException("decryptKey == null"); 286 cipher.init(Cipher.DECRYPT_MODE, decryptKey); 288 cipher.init(Cipher.DECRYPT_MODE, decryptKey, algParameters); 314 * @param decryptKey 326 * if {@code decryptKey} i 332 getKeySpec(Key decryptKey, String providerName) argument 387 getKeySpec(Key decryptKey, Provider provider) argument [all...] |
/libcore/support/src/test/java/tests/security/ |
H A D | KeyAgreementHelper.java | 39 void test(PrivateKey encryptKey, PublicKey decryptKey) { argument 54 keyAgreement.doPhase(decryptKey, true);
|
H A D | SignatureHelper.java | 42 public void test(PrivateKey encryptKey, PublicKey decryptKey) { argument 71 signature.initVerify(decryptKey);
|
H A D | CipherHelper.java | 42 public void test(Key encryptKey, Key decryptKey) { argument 60 cipher.init(mode2, decryptKey);
|
/libcore/luni/src/test/java/libcore/javax/crypto/ |
H A D | CipherTest.java | 942 private void testInputPKCS1Padding(String provider, byte[] prePaddedPlainText, Key encryptKey, Key decryptKey) throws Exception { argument 947 decryptCipher.init(Cipher.DECRYPT_MODE, decryptKey); 964 private void testOutputPKCS1Padding(String provider, byte expectedBlockType, Key encryptKey, Key decryptKey) throws Exception { argument 969 decryptCipher.init(Cipher.DECRYPT_MODE, decryptKey);
|
Completed in 89 milliseconds