public class AgileEncryptionHeader extends EncryptionHeader implements java.lang.Cloneable
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(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 |
clone() |
byte[] |
getEncryptedHmacKey() |
byte[] |
getEncryptedHmacValue() |
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
public AgileEncryptionHeader(java.lang.String descriptor)
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 AgileEncryptionHeader clone() throws java.lang.CloneNotSupportedException
clone
in class EncryptionHeader
java.lang.CloneNotSupportedException
Copyright 2018 The Apache Software Foundation or its licensors, as applicable.