Lines Matching refs:decryptKey
274 private PKCS8EncodedKeySpec getKeySpecImpl(Key decryptKey,
286 c.init(Cipher.DECRYPT_MODE, decryptKey, algid.getParameters());
309 * @param decryptKey key used for decrypting the encrypted data.
311 * @exception NullPointerException if <code>decryptKey</code>
315 * @exception InvalidKeyException if <code>decryptKey</code>
321 public PKCS8EncodedKeySpec getKeySpec(Key decryptKey)
323 if (decryptKey == null) {
324 throw new NullPointerException("decryptKey is null");
326 return getKeySpecImpl(decryptKey, null);
332 * @param decryptKey key used for decrypting the encrypted data.
336 * @exception NullPointerException if <code>decryptKey</code>
342 * @exception InvalidKeyException if <code>decryptKey</code>
348 public PKCS8EncodedKeySpec getKeySpec(Key decryptKey,
351 if (decryptKey == null) {
352 throw new NullPointerException("decryptKey is null");
362 return getKeySpecImpl(decryptKey, provider);
368 * @param decryptKey key used for decrypting the encrypted data.
372 * @exception NullPointerException if <code>decryptKey</code>
376 * @exception InvalidKeyException if <code>decryptKey</code>
382 public PKCS8EncodedKeySpec getKeySpec(Key decryptKey,
385 if (decryptKey == null) {
386 throw new NullPointerException("decryptKey is null");
391 return getKeySpecImpl(decryptKey, provider);