Package org.apache.poi.poifs.crypt.agile
Class KeyData
- java.lang.Object
-
- org.apache.poi.poifs.crypt.agile.KeyData
-
public class KeyData extends Object
A complex type that specifies the encryption used within this element. The saltValue attribute is a base64-encoded binary value that is randomly generated. The number of bytes required to decode the saltValue attribute MUST be equal to the value of the saltSize attribute.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Integer
getBlockSize()
CipherAlgorithm
getCipherAlgorithm()
ChainingMode
getCipherChaining()
HashAlgorithm
getHashAlgorithm()
Integer
getHashSize()
Integer
getKeyBits()
Integer
getSaltSize()
byte[]
getSaltValue()
void
setBlockSize(Integer blockSize)
void
setCipherAlgorithm(CipherAlgorithm cipherAlgorithm)
void
setCipherChaining(ChainingMode cipherChaining)
void
setHashAlgorithm(HashAlgorithm hashAlgorithm)
void
setHashSize(Integer hashSize)
void
setKeyBits(Integer keyBits)
void
setSaltSize(Integer saltSize)
void
setSaltValue(byte[] saltValue)
-
-
-
Constructor Detail
-
KeyData
public KeyData()
-
KeyData
public KeyData(Element parent)
-
-
Method Detail
-
getSaltSize
public Integer getSaltSize()
-
setSaltSize
public void setSaltSize(Integer saltSize)
-
getBlockSize
public Integer getBlockSize()
-
setBlockSize
public void setBlockSize(Integer blockSize)
-
getKeyBits
public Integer getKeyBits()
-
setKeyBits
public void setKeyBits(Integer keyBits)
-
getHashSize
public Integer getHashSize()
-
setHashSize
public void setHashSize(Integer hashSize)
-
getCipherAlgorithm
public CipherAlgorithm getCipherAlgorithm()
-
setCipherAlgorithm
public void setCipherAlgorithm(CipherAlgorithm cipherAlgorithm)
-
getCipherChaining
public ChainingMode getCipherChaining()
-
setCipherChaining
public void setCipherChaining(ChainingMode cipherChaining)
-
getHashAlgorithm
public HashAlgorithm getHashAlgorithm()
-
setHashAlgorithm
public void setHashAlgorithm(HashAlgorithm hashAlgorithm)
-
getSaltValue
public byte[] getSaltValue()
-
setSaltValue
public void setSaltValue(byte[] saltValue)
-
-