org.apache.poi.poifs.crypt
Interface EncryptionInfoBuilder

All Known Implementing Classes:
BinaryRC4EncryptionInfoBuilder, CryptoAPIEncryptionInfoBuilder, StandardEncryptionInfoBuilder, XOREncryptionInfoBuilder

public interface EncryptionInfoBuilder


Method Summary
 void initialize(EncryptionInfo ei, CipherAlgorithm cipherAlgorithm, HashAlgorithm hashAlgorithm, int keyBits, int blockSize, ChainingMode chainingMode)
          initialize the builder from scratch
 void initialize(EncryptionInfo ei, LittleEndianInput dis)
          initialize the builder from a stream
 

Method Detail

initialize

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

Throws:
java.io.IOException

initialize

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