org.apache.poi.poifs.crypt
Class AgileDecryptor
java.lang.Object
org.apache.poi.poifs.crypt.Decryptor
org.apache.poi.poifs.crypt.AgileDecryptor
public class AgileDecryptor
- extends Decryptor
- Author:
- Gary King
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AgileDecryptor
protected AgileDecryptor(EncryptionInfo info)
verifyPassword
public boolean verifyPassword(java.lang.String password)
throws java.security.GeneralSecurityException
- Specified by:
verifyPassword
in class Decryptor
- Throws:
java.security.GeneralSecurityException
getDataStream
public java.io.InputStream getDataStream(DirectoryNode dir)
throws java.io.IOException,
java.security.GeneralSecurityException
- Specified by:
getDataStream
in class Decryptor
- Throws:
java.io.IOException
java.security.GeneralSecurityException
generateIv
protected byte[] generateIv(int algorithm,
byte[] salt,
byte[] blockKey)
throws java.security.NoSuchAlgorithmException
- Throws:
java.security.NoSuchAlgorithmException
Copyright 2011 The Apache Software Foundation or
its licensors, as applicable.