Class CTPasswordKeyEncryptor
java.lang.Object
org.docx4j.com.microsoft.schemas.office.x2006.keyEncryptor.password.CTPasswordKeyEncryptor
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
FieldsModifier and TypeFieldDescriptionprotected longprotected Stringprotected STCipherChainingprotected byte[]protected byte[]protected byte[]protected STHashAlgorithmprotected longprotected longprotected longprotected byte[]protected long -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlongGets the value of the blockSize property.Gets the value of the cipherAlgorithm property.Gets the value of the cipherChaining property.byte[]Gets the value of the encryptedKeyValue property.byte[]Gets the value of the encryptedVerifierHashInput property.byte[]Gets the value of the encryptedVerifierHashValue property.Gets the value of the hashAlgorithm property.longGets the value of the hashSize property.longGets the value of the keyBits property.longGets the value of the saltSize property.byte[]Gets the value of the saltValue property.longGets the value of the spinCount property.voidsetBlockSize(long value) Sets the value of the blockSize property.voidsetCipherAlgorithm(String value) Sets the value of the cipherAlgorithm property.voidSets 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.
-
Field Details
-
saltSize
protected long saltSize -
blockSize
protected long blockSize -
keyBits
protected long keyBits -
hashSize
protected long hashSize -
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
Gets the value of the cipherAlgorithm property.- Returns:
- possible object is
String
-
setCipherAlgorithm
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[]
-