org.apache.poi.poifs.crypt
Interface EncryptionInfoBuilder

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

public interface EncryptionInfoBuilder


Method Summary
 Decryptor getDecryptor()
           
 Encryptor getEncryptor()
           
 EncryptionHeader getHeader()
           
 EncryptionVerifier getVerifier()
           
 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


getHeader

EncryptionHeader getHeader()
Returns:
the header data

getVerifier

EncryptionVerifier getVerifier()
Returns:
the verifier data

getDecryptor

Decryptor getDecryptor()
Returns:
the decryptor

getEncryptor

Encryptor getEncryptor()
Returns:
the encryptor


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