org.apache.poi.poifs.crypt
Class EncryptionInfo

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

public class EncryptionInfo
extends java.lang.Object


Constructor Summary
EncryptionInfo(DirectoryNode dir)
           
EncryptionInfo(DirectoryNode dir, EncryptionMode encryptionMode)
           
EncryptionInfo(DirectoryNode dir, EncryptionMode encryptionMode, CipherAlgorithm cipherAlgorithm, HashAlgorithm hashAlgorithm, int keyBits, int blockSize, ChainingMode chainingMode)
           
EncryptionInfo(NPOIFSFileSystem fs)
           
EncryptionInfo(NPOIFSFileSystem fs, EncryptionMode encryptionMode)
           
EncryptionInfo(NPOIFSFileSystem fs, EncryptionMode encryptionMode, CipherAlgorithm cipherAlgorithm, HashAlgorithm hashAlgorithm, int keyBits, int blockSize, ChainingMode chainingMode)
           
EncryptionInfo(POIFSFileSystem fs)
           
EncryptionInfo(POIFSFileSystem fs, EncryptionMode encryptionMode)
           
EncryptionInfo(POIFSFileSystem fs, EncryptionMode encryptionMode, CipherAlgorithm cipherAlgorithm, HashAlgorithm hashAlgorithm, int keyBits, int blockSize, ChainingMode chainingMode)
           
 
Method Summary
protected static EncryptionInfoBuilder getBuilder(EncryptionMode encryptionMode)
           
 Decryptor getDecryptor()
           
 int getEncryptionFlags()
           
 Encryptor getEncryptor()
           
 EncryptionHeader getHeader()
           
 EncryptionVerifier getVerifier()
           
 int getVersionMajor()
           
 int getVersionMinor()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EncryptionInfo

public EncryptionInfo(POIFSFileSystem fs)
               throws java.io.IOException
Throws:
java.io.IOException

EncryptionInfo

public EncryptionInfo(NPOIFSFileSystem fs)
               throws java.io.IOException
Throws:
java.io.IOException

EncryptionInfo

public EncryptionInfo(DirectoryNode dir)
               throws java.io.IOException
Throws:
java.io.IOException

EncryptionInfo

public EncryptionInfo(POIFSFileSystem fs,
                      EncryptionMode encryptionMode)
               throws java.io.IOException
Throws:
java.io.IOException

EncryptionInfo

public EncryptionInfo(NPOIFSFileSystem fs,
                      EncryptionMode encryptionMode)
               throws java.io.IOException
Throws:
java.io.IOException

EncryptionInfo

public EncryptionInfo(DirectoryNode dir,
                      EncryptionMode encryptionMode)
               throws EncryptedDocumentException
Throws:
EncryptedDocumentException

EncryptionInfo

public EncryptionInfo(POIFSFileSystem fs,
                      EncryptionMode encryptionMode,
                      CipherAlgorithm cipherAlgorithm,
                      HashAlgorithm hashAlgorithm,
                      int keyBits,
                      int blockSize,
                      ChainingMode chainingMode)
               throws EncryptedDocumentException
Throws:
EncryptedDocumentException

EncryptionInfo

public EncryptionInfo(NPOIFSFileSystem fs,
                      EncryptionMode encryptionMode,
                      CipherAlgorithm cipherAlgorithm,
                      HashAlgorithm hashAlgorithm,
                      int keyBits,
                      int blockSize,
                      ChainingMode chainingMode)
               throws EncryptedDocumentException
Throws:
EncryptedDocumentException

EncryptionInfo

public EncryptionInfo(DirectoryNode dir,
                      EncryptionMode encryptionMode,
                      CipherAlgorithm cipherAlgorithm,
                      HashAlgorithm hashAlgorithm,
                      int keyBits,
                      int blockSize,
                      ChainingMode chainingMode)
               throws EncryptedDocumentException
Throws:
EncryptedDocumentException
Method Detail

getBuilder

protected static EncryptionInfoBuilder getBuilder(EncryptionMode encryptionMode)
                                           throws java.lang.ClassNotFoundException,
                                                  java.lang.IllegalAccessException,
                                                  java.lang.InstantiationException
Throws:
java.lang.ClassNotFoundException
java.lang.IllegalAccessException
java.lang.InstantiationException

getVersionMajor

public int getVersionMajor()

getVersionMinor

public int getVersionMinor()

getEncryptionFlags

public int getEncryptionFlags()

getHeader

public EncryptionHeader getHeader()

getVerifier

public EncryptionVerifier getVerifier()

getDecryptor

public Decryptor getDecryptor()

getEncryptor

public Encryptor getEncryptor()


Copyright 2014 The Apache Software Foundation or its licensors, as applicable.