org.wiztools.wizcrypt
Class Decrypt

java.lang.Object
  extended by org.wiztools.wizcrypt.Decrypt
All Implemented Interfaces:
IProcess

public class Decrypt
extends java.lang.Object
implements IProcess

Class to do the decryption using the WizCrypt naming convention (*.wiz).


Constructor Summary
Decrypt()
           
 
Method Summary
 void init(java.lang.String keyStr)
           
 void process(java.io.File file, boolean forceOverwrite)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Decrypt

public Decrypt()
Method Detail

init

public void init(java.lang.String keyStr)
          throws java.security.NoSuchAlgorithmException,
                 java.io.UnsupportedEncodingException,
                 java.security.InvalidKeyException,
                 javax.crypto.NoSuchPaddingException
Specified by:
init in interface IProcess
Throws:
java.security.NoSuchAlgorithmException
java.io.UnsupportedEncodingException
java.security.InvalidKeyException
javax.crypto.NoSuchPaddingException

process

public void process(java.io.File file,
                    boolean forceOverwrite)
             throws java.io.FileNotFoundException,
                    DestinationFileExistsException,
                    PasswordMismatchException,
                    java.io.IOException
Specified by:
process in interface IProcess
Throws:
java.io.FileNotFoundException
DestinationFileExistsException
PasswordMismatchException
java.io.IOException


Copyright © 2007. All Rights Reserved.