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
Constructor | Description |
---|---|
AgileEncryptionHeader(java.lang.String descriptor) |
|
AgileEncryptionHeader(CipherAlgorithm algorithm,
HashAlgorithm hashAlgorithm,
int keyBits,
int blockSize,
ChainingMode chainingMode) |
Modifier and Type | Method | Description |
---|---|---|
byte[] |
getEncryptedHmacKey() |
|
byte[] |
getEncryptedHmacValue() |
|
protected void |
setEncryptedHmacKey(byte[] encryptedHmacKey) |
|
protected void |
setEncryptedHmacValue(byte[] encryptedHmacValue) |
|
protected void |
setKeySalt(byte[] salt) |
getAlgorithm, getBlockSize, getChainingMode, getCipherAlgorithm, getCipherMode, getCipherProvider, getCspName, getFlags, getHashAlgorithm, getHashAlgorithmEx, getKeySalt, getKeySize, getProviderType, getSizeExtra, setBlockSize, setChainingMode, setCipherAlgorithm, setCipherProvider, setCspName, setFlags, setHashAlgorithm, setKeySize, setSizeExtra
public AgileEncryptionHeader(java.lang.String descriptor) throws java.io.IOException
java.io.IOException
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)
Copyright 2018 The Apache Software Foundation or its licensors, as applicable.