org.dmonix.cipher
Class DMCipherInputStreamPBE
java.lang.Object
java.io.InputStream
java.io.FilterInputStream
org.dmonix.cipher.DMCipherInputStream
org.dmonix.cipher.DMCipherInputStreamPBE
- public class DMCipherInputStreamPBE
- extends DMCipherInputStream
A ciphered input stream that uses the PBEWithMD5AndDES algorithm.
Copyright: Copyright (c) 2004
Company: dmonix.org
- Version:
- 1.0
- Author:
- Peter Nerg
| Fields inherited from class java.io.FilterInputStream |
in |
|
Constructor Summary |
DMCipherInputStreamPBE(java.io.InputStream istream,
char[] key)
A ciphered input stream that uses the PBEWithMD5AndDES algorithm. |
DMCipherInputStreamPBE(java.io.InputStream istream,
char[] key,
byte[] salt,
int iterationCount)
A ciphered input stream that uses the PBEWithMD5AndDES algorithm. |
| Methods inherited from class java.io.FilterInputStream |
available, mark, markSupported, reset, skip |
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DMCipherInputStreamPBE
public DMCipherInputStreamPBE(java.io.InputStream istream,
char[] key)
throws java.security.NoSuchAlgorithmException,
java.security.InvalidKeyException,
java.security.spec.InvalidKeySpecException,
javax.crypto.NoSuchPaddingException,
java.security.InvalidAlgorithmParameterException
- A ciphered input stream that uses the PBEWithMD5AndDES algorithm.
- Parameters:
istream - The outputstream to cipherkey - The key
- Throws:
java.security.NoSuchAlgorithmException
java.security.InvalidKeyException
java.security.spec.InvalidKeySpecException
javax.crypto.NoSuchPaddingException
java.security.InvalidAlgorithmParameterException
DMCipherInputStreamPBE
public DMCipherInputStreamPBE(java.io.InputStream istream,
char[] key,
byte[] salt,
int iterationCount)
throws java.security.NoSuchAlgorithmException,
java.security.InvalidKeyException,
java.security.spec.InvalidKeySpecException,
javax.crypto.NoSuchPaddingException,
java.security.InvalidAlgorithmParameterException
- A ciphered input stream that uses the PBEWithMD5AndDES algorithm.
- Parameters:
istream - The outputstream to cipherkey - The keysalt - The salt for the algorithmiterationCount - The iteration count for the algorithm
- Throws:
java.security.NoSuchAlgorithmException
java.security.InvalidKeyException
java.security.spec.InvalidKeySpecException
javax.crypto.NoSuchPaddingException
java.security.InvalidAlgorithmParameterException
Copyright © 1998-2005 dmonix.org Peter Nerg, All Rights Reserved.