Package org.apache.poi.poifs.crypt.agile
Class KeyData
java.lang.Object
org.apache.poi.poifs.crypt.agile.KeyData
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.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbyte[]voidsetBlockSize(Integer blockSize) voidsetCipherAlgorithm(CipherAlgorithm cipherAlgorithm) voidsetCipherChaining(ChainingMode cipherChaining) voidsetHashAlgorithm(HashAlgorithm hashAlgorithm) voidsetHashSize(Integer hashSize) voidsetKeyBits(Integer keyBits) voidsetSaltSize(Integer saltSize) voidsetSaltValue(byte[] saltValue)
-
Constructor Details
-
KeyData
public KeyData() -
KeyData
-
-
Method Details
-
getSaltSize
-
setSaltSize
-
getBlockSize
-
setBlockSize
-
getKeyBits
-
setKeyBits
-
getHashSize
-
setHashSize
-
getCipherAlgorithm
-
setCipherAlgorithm
-
getCipherChaining
-
setCipherChaining
-
getHashAlgorithm
-
setHashAlgorithm
-
getSaltValue
public byte[] getSaltValue() -
setSaltValue
public void setSaltValue(byte[] saltValue)
-