com.judoscript.util
Class PBEWithMD5AndDES

java.lang.Object
  extended by com.judoscript.util.PBEBase
      extended by com.judoscript.util.PBEWithMD5AndDES

public class PBEWithMD5AndDES
extends PBEBase


Field Summary
static java.lang.String ENCRYPTION_NAME
           
 
Constructor Summary
PBEWithMD5AndDES(java.lang.String password)
           
 
Method Summary
 byte[] decrypt(byte[] data)
           
 void decrypt(java.io.InputStream is, java.io.OutputStream os)
           
 byte[] encrypt(byte[] data)
           
 void encrypt(java.io.InputStream is, java.io.OutputStream os)
           
 
Methods inherited from class com.judoscript.util.PBEBase
decryptedPassword, getEncryptedPassword
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ENCRYPTION_NAME

public static final java.lang.String ENCRYPTION_NAME
See Also:
Constant Field Values
Constructor Detail

PBEWithMD5AndDES

public PBEWithMD5AndDES(java.lang.String password)
                 throws java.lang.Exception
Throws:
java.lang.Exception
Method Detail

encrypt

public byte[] encrypt(byte[] data)
               throws java.lang.Exception
Specified by:
encrypt in class PBEBase
Throws:
java.lang.Exception

decrypt

public byte[] decrypt(byte[] data)
               throws java.lang.Exception
Specified by:
decrypt in class PBEBase
Throws:
java.lang.Exception

encrypt

public void encrypt(java.io.InputStream is,
                    java.io.OutputStream os)
             throws java.lang.Exception
Specified by:
encrypt in class PBEBase
Throws:
java.lang.Exception

decrypt

public void decrypt(java.io.InputStream is,
                    java.io.OutputStream os)
             throws java.lang.Exception
Specified by:
decrypt in class PBEBase
Throws:
java.lang.Exception