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 java.lang.Object implements EncryptionInfoBuilder
-
-
Constructor Summary
Constructors Constructor and Description AgileEncryptionInfoBuilder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description AgileDecryptorgetDecryptor()AgileEncryptorgetEncryptor()AgileEncryptionHeadergetHeader()AgileEncryptionVerifiergetVerifier()voidinitialize(EncryptionInfo info, CipherAlgorithm cipherAlgorithm, HashAlgorithm hashAlgorithm, int keyBits, int blockSize, ChainingMode chainingMode)initialize the builder from scratchvoidinitialize(EncryptionInfo info, LittleEndianInput dis)initialize the builder from a stream
-
-
-
Method Detail
-
initialize
public void initialize(EncryptionInfo info, LittleEndianInput dis) throws java.io.IOException
Description copied from interface:EncryptionInfoBuilderinitialize the builder from a stream- Specified by:
initializein interfaceEncryptionInfoBuilder- Throws:
java.io.IOException
-
initialize
public void initialize(EncryptionInfo info, CipherAlgorithm cipherAlgorithm, HashAlgorithm hashAlgorithm, int keyBits, int blockSize, ChainingMode chainingMode)
Description copied from interface:EncryptionInfoBuilderinitialize the builder from scratch- Specified by:
initializein interfaceEncryptionInfoBuilder
-
getHeader
public AgileEncryptionHeader getHeader()
- Specified by:
getHeaderin interfaceEncryptionInfoBuilder- Returns:
- the header data
-
getVerifier
public AgileEncryptionVerifier getVerifier()
- Specified by:
getVerifierin interfaceEncryptionInfoBuilder- Returns:
- the verifier data
-
getDecryptor
public AgileDecryptor getDecryptor()
- Specified by:
getDecryptorin interfaceEncryptionInfoBuilder- Returns:
- the decryptor
-
getEncryptor
public AgileEncryptor getEncryptor()
- Specified by:
getEncryptorin interfaceEncryptionInfoBuilder- Returns:
- the encryptor
-
-
DataMelt 3.0 © DataMelt by jWork.ORG