public class AgileEncryptionHeader extends EncryptionHeader
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 |
|---|---|
|
AgileEncryptionHeader(AgileEncryptionHeader other) |
|
AgileEncryptionHeader(CipherAlgorithm algorithm,
HashAlgorithm hashAlgorithm,
int keyBits,
int blockSize,
ChainingMode chainingMode) |
protected |
AgileEncryptionHeader(EncryptionDocument ed) |
|
AgileEncryptionHeader(java.lang.String descriptor) |
| Modifier and Type | Method and Description |
|---|---|
AgileEncryptionHeader |
copy() |
byte[] |
getEncryptedHmacKey() |
byte[] |
getEncryptedHmacValue() |
java.util.Map<java.lang.String,java.util.function.Supplier<?>> |
getGenericProperties() |
protected void |
setEncryptedHmacKey(byte[] encryptedHmacKey) |
protected void |
setEncryptedHmacValue(byte[] encryptedHmacValue) |
void |
setKeySalt(byte[] salt) |
getBlockSize, getChainingMode, getCipherAlgorithm, getCipherProvider, getCspName, getFlags, getHashAlgorithm, getKeySalt, getKeySize, getSizeExtra, setBlockSize, setChainingMode, setCipherAlgorithm, setCipherProvider, setCspName, setFlags, setHashAlgorithm, setKeySize, setSizeExtraclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetGenericChildren, getGenericRecordTypepublic AgileEncryptionHeader(java.lang.String descriptor)
public AgileEncryptionHeader(AgileEncryptionHeader other)
protected AgileEncryptionHeader(EncryptionDocument ed)
public AgileEncryptionHeader(CipherAlgorithm algorithm, HashAlgorithm hashAlgorithm, int keyBits, int blockSize, ChainingMode chainingMode)
public void setKeySalt(byte[] salt)
setKeySalt in class EncryptionHeaderpublic byte[] getEncryptedHmacKey()
protected void setEncryptedHmacKey(byte[] encryptedHmacKey)
public byte[] getEncryptedHmacValue()
protected void setEncryptedHmacValue(byte[] encryptedHmacValue)
public java.util.Map<java.lang.String,java.util.function.Supplier<?>> getGenericProperties()
getGenericProperties in interface GenericRecordgetGenericProperties in class EncryptionHeaderpublic AgileEncryptionHeader copy()
copy in interface Duplicatablecopy in class EncryptionHeaderCopyright 2021 The Apache Software Foundation or its licensors, as applicable.