org.apache.poi.poifs.crypt
Class Decryptor

java.lang.Object
  extended by org.apache.poi.poifs.crypt.Decryptor

public class Decryptor
extends java.lang.Object

Author:
Maxim Valyanskiy

Field Summary
static java.lang.String DEFAULT_PASSWORD
           
 
Constructor Summary
Decryptor(EncryptionInfo info)
           
 
Method Summary
 java.io.InputStream getDataStream(POIFSFileSystem fs)
           
 boolean verifyPassword(java.lang.String password)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_PASSWORD

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

Decryptor

public Decryptor(EncryptionInfo info)
Method Detail

verifyPassword

public boolean verifyPassword(java.lang.String password)
                       throws java.security.GeneralSecurityException
Throws:
java.security.GeneralSecurityException

getDataStream

public java.io.InputStream getDataStream(POIFSFileSystem fs)
                                  throws java.io.IOException,
                                         java.security.GeneralSecurityException
Throws:
java.io.IOException
java.security.GeneralSecurityException