Class CTPasswordKeyEncryptor
java.lang.Object
org.docx4j.com.microsoft.schemas.office.x2006.keyEncryptor.password.CTPasswordKeyEncryptor
public class CTPasswordKeyEncryptor
extends java.lang.Object
Java class for CT_PasswordKeyEncryptor complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="CT_PasswordKeyEncryptor">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<attribute name="saltSize" use="required" type="{http://schemas.microsoft.com/office/2006/encryption}ST_SaltSize" />
<attribute name="blockSize" use="required" type="{http://schemas.microsoft.com/office/2006/encryption}ST_BlockSize" />
<attribute name="keyBits" use="required" type="{http://schemas.microsoft.com/office/2006/encryption}ST_KeyBits" />
<attribute name="hashSize" use="required" type="{http://schemas.microsoft.com/office/2006/encryption}ST_HashSize" />
<attribute name="cipherAlgorithm" use="required" type="{http://schemas.microsoft.com/office/2006/encryption}ST_CipherAlgorithm" />
<attribute name="cipherChaining" use="required" type="{http://schemas.microsoft.com/office/2006/encryption}ST_CipherChaining" />
<attribute name="hashAlgorithm" use="required" type="{http://schemas.microsoft.com/office/2006/encryption}ST_HashAlgorithm" />
<attribute name="saltValue" use="required" type="{http://www.w3.org/2001/XMLSchema}base64Binary" />
<attribute name="spinCount" use="required" type="{http://schemas.microsoft.com/office/2006/encryption}ST_SpinCount" />
<attribute name="encryptedVerifierHashInput" use="required" type="{http://www.w3.org/2001/XMLSchema}base64Binary" />
<attribute name="encryptedVerifierHashValue" use="required" type="{http://www.w3.org/2001/XMLSchema}base64Binary" />
<attribute name="encryptedKeyValue" use="required" type="{http://www.w3.org/2001/XMLSchema}base64Binary" />
</restriction>
</complexContent>
</complexType>
-
Field Summary
Fields Modifier and Type Field Description protected longblockSizeprotected java.lang.StringcipherAlgorithmprotected STCipherChainingcipherChainingprotected byte[]encryptedKeyValueprotected byte[]encryptedVerifierHashInputprotected byte[]encryptedVerifierHashValueprotected STHashAlgorithmhashAlgorithmprotected longhashSizeprotected longkeyBitsprotected longsaltSizeprotected byte[]saltValueprotected longspinCount -
Constructor Summary
Constructors Constructor Description CTPasswordKeyEncryptor() -
Method Summary
Modifier and Type Method Description longgetBlockSize()Gets the value of the blockSize property.java.lang.StringgetCipherAlgorithm()Gets the value of the cipherAlgorithm property.STCipherChaininggetCipherChaining()Gets the value of the cipherChaining property.byte[]getEncryptedKeyValue()Gets the value of the encryptedKeyValue property.byte[]getEncryptedVerifierHashInput()Gets the value of the encryptedVerifierHashInput property.byte[]getEncryptedVerifierHashValue()Gets the value of the encryptedVerifierHashValue property.STHashAlgorithmgetHashAlgorithm()Gets the value of the hashAlgorithm property.longgetHashSize()Gets the value of the hashSize property.longgetKeyBits()Gets the value of the keyBits property.longgetSaltSize()Gets the value of the saltSize property.byte[]getSaltValue()Gets the value of the saltValue property.longgetSpinCount()Gets the value of the spinCount property.voidsetBlockSize(long value)Sets the value of the blockSize property.voidsetCipherAlgorithm(java.lang.String value)Sets the value of the cipherAlgorithm property.voidsetCipherChaining(STCipherChaining value)Sets the value of the cipherChaining property.voidsetEncryptedKeyValue(byte[] value)Sets the value of the encryptedKeyValue property.voidsetEncryptedVerifierHashInput(byte[] value)Sets the value of the encryptedVerifierHashInput property.voidsetEncryptedVerifierHashValue(byte[] value)Sets the value of the encryptedVerifierHashValue property.voidsetHashAlgorithm(STHashAlgorithm value)Sets the value of the hashAlgorithm property.voidsetHashSize(long value)Sets the value of the hashSize property.voidsetKeyBits(long value)Sets the value of the keyBits property.voidsetSaltSize(long value)Sets the value of the saltSize property.voidsetSaltValue(byte[] value)Sets the value of the saltValue property.voidsetSpinCount(long value)Sets the value of the spinCount property.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
saltSize
protected long saltSize -
blockSize
protected long blockSize -
keyBits
protected long keyBits -
hashSize
protected long hashSize -
cipherAlgorithm
protected java.lang.String cipherAlgorithm -
cipherChaining
-
hashAlgorithm
-
saltValue
protected byte[] saltValue -
spinCount
protected long spinCount -
encryptedVerifierHashInput
protected byte[] encryptedVerifierHashInput -
encryptedVerifierHashValue
protected byte[] encryptedVerifierHashValue -
encryptedKeyValue
protected byte[] encryptedKeyValue
-
-
Constructor Details
-
CTPasswordKeyEncryptor
public CTPasswordKeyEncryptor()
-
-
Method Details
-
getSaltSize
public long getSaltSize()Gets the value of the saltSize property. -
setSaltSize
public void setSaltSize(long value)Sets the value of the saltSize property. -
getBlockSize
public long getBlockSize()Gets the value of the blockSize property. -
setBlockSize
public void setBlockSize(long value)Sets the value of the blockSize property. -
getKeyBits
public long getKeyBits()Gets the value of the keyBits property. -
setKeyBits
public void setKeyBits(long value)Sets the value of the keyBits property. -
getHashSize
public long getHashSize()Gets the value of the hashSize property. -
setHashSize
public void setHashSize(long value)Sets the value of the hashSize property. -
getCipherAlgorithm
public java.lang.String getCipherAlgorithm()Gets the value of the cipherAlgorithm property.- Returns:
- possible object is
String
-
setCipherAlgorithm
public void setCipherAlgorithm(java.lang.String value)Sets the value of the cipherAlgorithm property.- Parameters:
value- allowed object isString
-
getCipherChaining
Gets the value of the cipherChaining property.- Returns:
- possible object is
STCipherChaining
-
setCipherChaining
Sets the value of the cipherChaining property.- Parameters:
value- allowed object isSTCipherChaining
-
getHashAlgorithm
Gets the value of the hashAlgorithm property.- Returns:
- possible object is
STHashAlgorithm
-
setHashAlgorithm
Sets the value of the hashAlgorithm property.- Parameters:
value- allowed object isSTHashAlgorithm
-
getSaltValue
public byte[] getSaltValue()Gets the value of the saltValue property.- Returns:
- possible object is byte[]
-
setSaltValue
public void setSaltValue(byte[] value)Sets the value of the saltValue property.- Parameters:
value- allowed object is byte[]
-
getSpinCount
public long getSpinCount()Gets the value of the spinCount property. -
setSpinCount
public void setSpinCount(long value)Sets the value of the spinCount property. -
getEncryptedVerifierHashInput
public byte[] getEncryptedVerifierHashInput()Gets the value of the encryptedVerifierHashInput property.- Returns:
- possible object is byte[]
-
setEncryptedVerifierHashInput
public void setEncryptedVerifierHashInput(byte[] value)Sets the value of the encryptedVerifierHashInput property.- Parameters:
value- allowed object is byte[]
-
getEncryptedVerifierHashValue
public byte[] getEncryptedVerifierHashValue()Gets the value of the encryptedVerifierHashValue property.- Returns:
- possible object is byte[]
-
setEncryptedVerifierHashValue
public void setEncryptedVerifierHashValue(byte[] value)Sets the value of the encryptedVerifierHashValue property.- Parameters:
value- allowed object is byte[]
-
getEncryptedKeyValue
public byte[] getEncryptedKeyValue()Gets the value of the encryptedKeyValue property.- Returns:
- possible object is byte[]
-
setEncryptedKeyValue
public void setEncryptedKeyValue(byte[] value)Sets the value of the encryptedKeyValue property.- Parameters:
value- allowed object is byte[]
-