public class StandardEncryptionHeader extends EncryptionHeader implements EncryptionRecord
ALGORITHM_AES_128, ALGORITHM_AES_192, ALGORITHM_AES_256, ALGORITHM_RC4, HASH_NONE, HASH_SHA1, HASH_SHA256, HASH_SHA384, HASH_SHA512, MODE_CBC, MODE_CFB, MODE_ECB, PROVIDER_AES, PROVIDER_RC4| Modifier | Constructor and Description |
|---|---|
protected |
StandardEncryptionHeader(CipherAlgorithm cipherAlgorithm,
HashAlgorithm hashAlgorithm,
int keyBits,
int blockSize,
ChainingMode chainingMode) |
protected |
StandardEncryptionHeader(LittleEndianInput is) |
protected |
StandardEncryptionHeader(StandardEncryptionHeader other) |
| Modifier and Type | Method and Description |
|---|---|
StandardEncryptionHeader |
copy() |
void |
write(LittleEndianByteArrayOutputStream bos)
serializes the header
|
getBlockSize, getChainingMode, getCipherAlgorithm, getCipherProvider, getCspName, getFlags, getGenericProperties, getHashAlgorithm, getKeySalt, getKeySize, getSizeExtra, setBlockSize, setChainingMode, setCipherAlgorithm, setCipherProvider, setCspName, setFlags, setHashAlgorithm, setKeySalt, setKeySize, setSizeExtraclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetGenericChildren, getGenericRecordTypeprotected StandardEncryptionHeader(StandardEncryptionHeader other)
protected StandardEncryptionHeader(LittleEndianInput is) throws java.io.IOException
java.io.IOExceptionprotected StandardEncryptionHeader(CipherAlgorithm cipherAlgorithm, HashAlgorithm hashAlgorithm, int keyBits, int blockSize, ChainingMode chainingMode)
public void write(LittleEndianByteArrayOutputStream bos)
write in interface EncryptionRecordpublic StandardEncryptionHeader copy()
copy in interface Duplicatablecopy in class EncryptionHeaderCopyright 2021 The Apache Software Foundation or its licensors, as applicable.