Package org.apache.poi.poifs.crypt.agile
Class AgileEncryptionInfoBuilder
- java.lang.Object
-
- org.apache.poi.poifs.crypt.agile.AgileEncryptionInfoBuilder
-
- All Implemented Interfaces:
EncryptionInfoBuilder
public class AgileEncryptionInfoBuilder extends Object implements EncryptionInfoBuilder
-
-
Constructor Summary
Constructors Constructor Description AgileEncryptionInfoBuilder()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
initialize(EncryptionInfo info, CipherAlgorithm cipherAlgorithm, HashAlgorithm hashAlgorithm, int keyBits, int blockSize, ChainingMode chainingMode)
initialize the builder from scratchvoid
initialize(EncryptionInfo info, LittleEndianInput dis)
initialize the builder from a streamprotected static EncryptionDocument
parseDescriptor(InputStream descriptor)
protected static EncryptionDocument
parseDescriptor(String descriptor)
-
-
-
Method Detail
-
initialize
public void initialize(EncryptionInfo info, LittleEndianInput dis) throws IOException
Description copied from interface:EncryptionInfoBuilder
initialize the builder from a stream- Specified by:
initialize
in interfaceEncryptionInfoBuilder
- Throws:
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 interfaceEncryptionInfoBuilder
-
parseDescriptor
protected static EncryptionDocument parseDescriptor(String descriptor)
-
parseDescriptor
protected static EncryptionDocument parseDescriptor(InputStream descriptor)
-
-