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(com.microsoft.schemas.office.x2006.encryption.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) |
protected void |
setKeySalt(byte[] salt) |
getBlockSize, getChainingMode, getCipherAlgorithm, getCipherProvider, getCspName, getFlags, getHashAlgorithm, getKeySalt, getKeySize, getSizeExtra, setBlockSize, setChainingMode, setCipherAlgorithm, setCipherProvider, setCspName, setFlags, setHashAlgorithm, setKeySize, setSizeExtra
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getGenericChildren, getGenericRecordType
public AgileEncryptionHeader(java.lang.String descriptor)
public AgileEncryptionHeader(AgileEncryptionHeader other)
protected AgileEncryptionHeader(com.microsoft.schemas.office.x2006.encryption.EncryptionDocument ed)
public AgileEncryptionHeader(CipherAlgorithm algorithm, HashAlgorithm hashAlgorithm, int keyBits, int blockSize, ChainingMode chainingMode)
protected void setKeySalt(byte[] salt)
setKeySalt
in class EncryptionHeader
public 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 GenericRecord
getGenericProperties
in class EncryptionHeader
public AgileEncryptionHeader copy()
copy
in interface Duplicatable
copy
in class EncryptionHeader
Copyright 2020 The Apache Software Foundation or its licensors, as applicable.