Searched defs:decryptKey (Results 1 - 4 of 4) sorted by relevance

/libcore/support/src/test/java/tests/security/
H A DCipherHelper.java42 public void test(Key encryptKey, Key decryptKey) throws Exception { argument
47 cipher.init(mode2, decryptKey);
H A DKeyAgreementHelper.java39 void test(PrivateKey encryptKey, PublicKey decryptKey) throws Exception { argument
42 keyAgreement.doPhase(decryptKey, true);
H A DSignatureHelper.java42 public void test(PrivateKey encryptKey, PublicKey decryptKey) throws Exception { argument
48 signature.initVerify(decryptKey);
/libcore/ojluni/src/main/java/javax/crypto/
H A DEncryptedPrivateKeyInfo.java261 private PKCS8EncodedKeySpec getKeySpecImpl(Key decryptKey, argument
273 c.init(Cipher.DECRYPT_MODE, decryptKey, algid.getParameters());
289 * @param decryptKey key used for decrypting the encrypted data.
291 * @exception NullPointerException if <code>decryptKey</code>
295 * @exception InvalidKeyException if <code>decryptKey</code>
301 public PKCS8EncodedKeySpec getKeySpec(Key decryptKey) argument
303 if (decryptKey == null) {
304 throw new NullPointerException("decryptKey is null");
306 return getKeySpecImpl(decryptKey, null);
312 * @param decryptKey ke
328 getKeySpec(Key decryptKey, String providerName) argument
362 getKeySpec(Key decryptKey, Provider provider) argument
[all...]

Completed in 67 milliseconds