org.apache.poi.poifs.crypt
Interface EncryptionInfoBuilder
-
- All Known Implementing Classes:
- AgileEncryptionInfoBuilder, BinaryRC4EncryptionInfoBuilder, CryptoAPIEncryptionInfoBuilder, StandardEncryptionInfoBuilder
public interface EncryptionInfoBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method and Description DecryptorgetDecryptor()EncryptorgetEncryptor()EncryptionHeadergetHeader()EncryptionVerifiergetVerifier()voidinitialize(EncryptionInfo ei, CipherAlgorithm cipherAlgorithm, HashAlgorithm hashAlgorithm, int keyBits, int blockSize, ChainingMode chainingMode)initialize the builder from scratchvoidinitialize(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
-
-
DataMelt 3.0 © DataMelt by jWork.ORG