org.apache.poi.poifs.crypt.standard
Class StandardEncryptionInfoBuilder

java.lang.Object
  extended by org.apache.poi.poifs.crypt.standard.StandardEncryptionInfoBuilder
All Implemented Interfaces:
EncryptionInfoBuilder

public class StandardEncryptionInfoBuilder
extends java.lang.Object
implements EncryptionInfoBuilder


Constructor Summary
StandardEncryptionInfoBuilder()
           
 
Method Summary
 void initialize(EncryptionInfo info, CipherAlgorithm cipherAlgorithm, HashAlgorithm hashAlgorithm, int keyBits, int blockSize, ChainingMode chainingMode)
          initialize the builder from scratch
 void initialize(EncryptionInfo info, LittleEndianInput dis)
          initialize the builder from a stream
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StandardEncryptionInfoBuilder

public StandardEncryptionInfoBuilder()
Method Detail

initialize

public void initialize(EncryptionInfo info,
                       LittleEndianInput dis)
                throws java.io.IOException
initialize the builder from a stream

Specified by:
initialize in interface EncryptionInfoBuilder
Throws:
java.io.IOException

initialize

public void initialize(EncryptionInfo info,
                       CipherAlgorithm cipherAlgorithm,
                       HashAlgorithm hashAlgorithm,
                       int keyBits,
                       int blockSize,
                       ChainingMode chainingMode)
initialize the builder from scratch

Specified by:
initialize in interface EncryptionInfoBuilder