Interface EncryptionInfoBuilder
- All Known Implementing Classes:
AgileEncryptionInfoBuilder,BinaryRC4EncryptionInfoBuilder,CryptoAPIEncryptionInfoBuilder,StandardEncryptionInfoBuilder
public interface EncryptionInfoBuilder
-
Method Summary
Modifier and TypeMethodDescriptionvoidinitialize(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 Details
-
initialize
initialize the builder from a stream- Throws:
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
-