Package org.apache.poi.poifs.crypt.agile
Class PasswordKeyEncryptor
- java.lang.Object
-
- org.apache.poi.poifs.crypt.agile.PasswordKeyEncryptor
-
public class PasswordKeyEncryptor extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description PasswordKeyEncryptor()PasswordKeyEncryptor(org.w3c.dom.Element passwordKey)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.IntegergetBlockSize()CipherAlgorithmgetCipherAlgorithm()ChainingModegetCipherChaining()byte[]getEncryptedKeyValue()byte[]getEncryptedVerifierHashInput()byte[]getEncryptedVerifierHashValue()HashAlgorithmgetHashAlgorithm()java.lang.IntegergetHashSize()java.lang.IntegergetKeyBits()java.lang.IntegergetSaltSize()byte[]getSaltValue()java.lang.IntegergetSpinCount()voidsetBlockSize(java.lang.Integer blockSize)voidsetCipherAlgorithm(CipherAlgorithm cipherAlgorithm)voidsetCipherChaining(ChainingMode cipherChaining)voidsetEncryptedKeyValue(byte[] encryptedKeyValue)voidsetEncryptedVerifierHashInput(byte[] encryptedVerifierHashInput)voidsetEncryptedVerifierHashValue(byte[] encryptedVerifierHashValue)voidsetHashAlgorithm(HashAlgorithm hashAlgorithm)voidsetHashSize(java.lang.Integer hashSize)voidsetKeyBits(java.lang.Integer keyBits)voidsetSaltSize(java.lang.Integer saltSize)voidsetSaltValue(byte[] saltValue)voidsetSpinCount(java.lang.Integer spinCount)
-
-
-
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)
-
getSpinCount
public java.lang.Integer getSpinCount()
-
setSpinCount
public void setSpinCount(java.lang.Integer spinCount)
-
getEncryptedVerifierHashInput
public byte[] getEncryptedVerifierHashInput()
-
setEncryptedVerifierHashInput
public void setEncryptedVerifierHashInput(byte[] encryptedVerifierHashInput)
-
getEncryptedVerifierHashValue
public byte[] getEncryptedVerifierHashValue()
-
setEncryptedVerifierHashValue
public void setEncryptedVerifierHashValue(byte[] encryptedVerifierHashValue)
-
getEncryptedKeyValue
public byte[] getEncryptedKeyValue()
-
setEncryptedKeyValue
public void setEncryptedKeyValue(byte[] encryptedKeyValue)
-
-