org.dmonix.cipher
Class DMCipherOutputStreamPBE
java.lang.Object
java.io.OutputStream
java.io.FilterOutputStream
org.dmonix.cipher.DMCipherOutputStream
org.dmonix.cipher.DMCipherOutputStreamPBE
- public class DMCipherOutputStreamPBE
- extends DMCipherOutputStream
A ciphered output stream that uses the PBEWithMD5AndDES algorithm.
Copyright: Copyright (c) 2003
Company: dmonix.org
- Version:
- 1.0
- Author:
- Peter Nerg
| Fields inherited from class java.io.FilterOutputStream |
out |
|
Constructor Summary |
DMCipherOutputStreamPBE(java.io.OutputStream ostream,
char[] key)
A ciphered output stream that uses the PBEWithMD5AndDES algorithm. |
DMCipherOutputStreamPBE(java.io.OutputStream ostream,
char[] key,
byte[] salt,
int iterationCount)
A ciphered output stream that uses the PBEWithMD5AndDES algorithm. |
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DMCipherOutputStreamPBE
public DMCipherOutputStreamPBE(java.io.OutputStream ostream,
char[] key)
throws java.security.NoSuchAlgorithmException,
java.security.InvalidKeyException,
java.security.spec.InvalidKeySpecException,
javax.crypto.NoSuchPaddingException,
java.security.InvalidAlgorithmParameterException
- A ciphered output stream that uses the PBEWithMD5AndDES algorithm.
- Parameters:
ostream - The outputstream to cipherkey - The key
- Throws:
java.security.NoSuchAlgorithmException
java.security.InvalidKeyException
java.security.spec.InvalidKeySpecException
javax.crypto.NoSuchPaddingException
java.security.InvalidAlgorithmParameterException
DMCipherOutputStreamPBE
public DMCipherOutputStreamPBE(java.io.OutputStream ostream,
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 output stream that uses the PBEWithMD5AndDES algorithm.
- Parameters:
ostream - 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.