Lines Matching refs:decryptKey
261 private PKCS8EncodedKeySpec getKeySpecImpl(Key decryptKey,
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)
303 if (decryptKey == null) {
304 throw new NullPointerException("decryptKey is null");
306 return getKeySpecImpl(decryptKey, null);
312 * @param decryptKey key used for decrypting the encrypted data.
316 * @exception NullPointerException if <code>decryptKey</code>
322 * @exception InvalidKeyException if <code>decryptKey</code>
328 public PKCS8EncodedKeySpec getKeySpec(Key decryptKey,
331 if (decryptKey == null) {
332 throw new NullPointerException("decryptKey is null");
342 return getKeySpecImpl(decryptKey, provider);
348 * @param decryptKey key used for decrypting the encrypted data.
352 * @exception NullPointerException if <code>decryptKey</code>
356 * @exception InvalidKeyException if <code>decryptKey</code>
362 public PKCS8EncodedKeySpec getKeySpec(Key decryptKey,
365 if (decryptKey == null) {
366 throw new NullPointerException("decryptKey is null");
371 return getKeySpecImpl(decryptKey, provider);