Package org.apache.poi.poifs.crypt.agile
Class KeyData
- java.lang.Object
-
- org.apache.poi.poifs.crypt.agile.KeyData
-
public class KeyData extends java.lang.ObjectA 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 java.lang.IntegergetBlockSize()CipherAlgorithmgetCipherAlgorithm()ChainingModegetCipherChaining()HashAlgorithmgetHashAlgorithm()java.lang.IntegergetHashSize()java.lang.IntegergetKeyBits()java.lang.IntegergetSaltSize()byte[]getSaltValue()voidsetBlockSize(java.lang.Integer blockSize)voidsetCipherAlgorithm(CipherAlgorithm cipherAlgorithm)voidsetCipherChaining(ChainingMode cipherChaining)voidsetHashAlgorithm(HashAlgorithm hashAlgorithm)voidsetHashSize(java.lang.Integer hashSize)voidsetKeyBits(java.lang.Integer keyBits)voidsetSaltSize(java.lang.Integer saltSize)voidsetSaltValue(byte[] saltValue)
-
-
-
Method Detail
-
getSaltSize
public java.lang.Integer getSaltSize()
-
setSaltSize
public void setSaltSize(java.lang.Integer saltSize)
-
getBlockSize
public java.lang.Integer getBlockSize()
-
setBlockSize
public void setBlockSize(java.lang.Integer blockSize)
-
getKeyBits
public java.lang.Integer getKeyBits()
-
setKeyBits
public void setKeyBits(java.lang.Integer keyBits)
-
getHashSize
public java.lang.Integer getHashSize()
-
setHashSize
public void setHashSize(java.lang.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)
-
-