org.apache.poi.poifs.crypt.agile
Class AgileEncryptionInfoBuilder

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

public class AgileEncryptionInfoBuilder
extends java.lang.Object
implements EncryptionInfoBuilder


Constructor Summary
AgileEncryptionInfoBuilder()
           
 
Method Summary
 AgileDecryptor getDecryptor()
           
 AgileEncryptor getEncryptor()
           
 AgileEncryptionHeader getHeader()
           
protected  EncryptionInfo getInfo()
           
 AgileEncryptionVerifier getVerifier()
           
 void initialize(EncryptionInfo info, CipherAlgorithm cipherAlgorithm, HashAlgorithm hashAlgorithm, int keyBits, int blockSize, ChainingMode chainingMode)
           
 void initialize(EncryptionInfo info, DocumentInputStream dis)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AgileEncryptionInfoBuilder

public AgileEncryptionInfoBuilder()
Method Detail

initialize

public void initialize(EncryptionInfo info,
                       DocumentInputStream dis)
                throws java.io.IOException
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)
Specified by:
initialize in interface EncryptionInfoBuilder

getHeader

public AgileEncryptionHeader getHeader()
Specified by:
getHeader in interface EncryptionInfoBuilder

getVerifier

public AgileEncryptionVerifier getVerifier()
Specified by:
getVerifier in interface EncryptionInfoBuilder

getDecryptor

public AgileDecryptor getDecryptor()
Specified by:
getDecryptor in interface EncryptionInfoBuilder

getEncryptor

public AgileEncryptor getEncryptor()
Specified by:
getEncryptor in interface EncryptionInfoBuilder

getInfo

protected EncryptionInfo getInfo()


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