org.apache.poi.poifs.crypt.binaryrc4
Class BinaryRC4EncryptionInfoBuilder

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

public class BinaryRC4EncryptionInfoBuilder
extends java.lang.Object
implements EncryptionInfoBuilder


Constructor Summary
BinaryRC4EncryptionInfoBuilder()
           
 
Method Summary
 BinaryRC4Decryptor getDecryptor()
           
 EncryptionInfo getEncryptionInfo()
           
 BinaryRC4Encryptor getEncryptor()
           
 BinaryRC4EncryptionHeader getHeader()
           
 BinaryRC4EncryptionVerifier getVerifier()
           
 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

BinaryRC4EncryptionInfoBuilder

public BinaryRC4EncryptionInfoBuilder()
Method Detail

initialize

public void initialize(EncryptionInfo info,
                       LittleEndianInput dis)
                throws java.io.IOException
Description copied from interface: EncryptionInfoBuilder
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)
Description copied from interface: EncryptionInfoBuilder
initialize the builder from scratch

Specified by:
initialize in interface EncryptionInfoBuilder

getHeader

public BinaryRC4EncryptionHeader getHeader()
Specified by:
getHeader in interface EncryptionInfoBuilder
Returns:
the header data

getVerifier

public BinaryRC4EncryptionVerifier getVerifier()
Specified by:
getVerifier in interface EncryptionInfoBuilder
Returns:
the verifier data

getDecryptor

public BinaryRC4Decryptor getDecryptor()
Specified by:
getDecryptor in interface EncryptionInfoBuilder
Returns:
the decryptor

getEncryptor

public BinaryRC4Encryptor getEncryptor()
Specified by:
getEncryptor in interface EncryptionInfoBuilder
Returns:
the encryptor

getEncryptionInfo

public EncryptionInfo getEncryptionInfo()


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