Package com.independentsoft.office.word
Class DocumentProtection
java.lang.Object
com.independentsoft.office.word.DocumentProtection
The Class DocumentProtection.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()Gets the algorithm extensibility source.Gets the cryptographic algorithm class.Gets the cryptographic algorithm extensibility.Gets the cryptographic algorithm type.intGets the cryptographic hashing algorithm.Gets the cryptographic provider.Gets the cryptographic provider type.Gets the cryptographic provider type extensibility.Gets the cryptographic provider type extensibility source.Gets the enforce document protection settings.Gets the formatting.intGets the iteration count.Gets the password hash.Gets the protection type.getSalt()Gets the salt.voidsetAlgorithmExtensibilitySource(String algorithmExtensibilitySource)Sets the algorithm extensibility source.voidsetCryptographicAlgorithmClass(CryptographicAlgorithmClass cryptographicAlgorithmClass)Sets the cryptographic algorithm class.voidsetCryptographicAlgorithmExtensibility(String cryptographicAlgorithmExtensibility)Sets the cryptographic algorithm extensibility.voidsetCryptographicAlgorithmType(CryptographicAlgorithmType cryptographicAlgorithmType)Sets the cryptographic algorithm type.voidsetCryptographicHashingAlgorithm(int cryptographicHashingAlgorithm)Sets the cryptographic hashing algorithm.voidsetCryptographicProvider(String cryptographicProvider)Sets the cryptographic provider.voidsetCryptographicProviderType(CryptographicProviderType cryptographicProviderType)Sets the cryptographic provider type.voidsetCryptographicProviderTypeExtensibility(String cryptographicProviderTypeExtensibility)Sets the cryptographic provider type extensibility.voidsetCryptographicProviderTypeExtensibilitySource(String cryptographicProviderTypeExtensibilitySource)Sets the cryptographic provider type extensibility source.voidsetEnforceDocumentProtectionSettings(ExtendedBoolean enforceDocumentProtectionSettings)Sets the enforce document protection settings.voidsetFormatting(ExtendedBoolean formatting)Sets the formatting.voidsetIterationCount(int iterationCount)Sets the iteration count.voidsetPasswordHash(String passwordHash)Sets the password hash.voidsetProtectionType(DocumentProtectionType protectionType)Sets the protection type.voidSets the salt.toString()
-
Constructor Details
-
DocumentProtection
public DocumentProtection()Instantiates a new document protection.
-
-
Method Details
-
clone
-
toString
-
getCryptographicAlgorithmExtensibility
Gets the cryptographic algorithm extensibility.- Returns:
- the cryptographic algorithm extensibility
-
setCryptographicAlgorithmExtensibility
Sets the cryptographic algorithm extensibility.- Parameters:
cryptographicAlgorithmExtensibility- the new cryptographic algorithm extensibility
-
getAlgorithmExtensibilitySource
Gets the algorithm extensibility source.- Returns:
- the algorithm extensibility source
-
setAlgorithmExtensibilitySource
Sets the algorithm extensibility source.- Parameters:
algorithmExtensibilitySource- the new algorithm extensibility source
-
getCryptographicAlgorithmClass
Gets the cryptographic algorithm class.- Returns:
- the cryptographic algorithm class
-
setCryptographicAlgorithmClass
public void setCryptographicAlgorithmClass(CryptographicAlgorithmClass cryptographicAlgorithmClass)Sets the cryptographic algorithm class.- Parameters:
cryptographicAlgorithmClass- the new cryptographic algorithm class
-
getCryptographicHashingAlgorithm
public int getCryptographicHashingAlgorithm()Gets the cryptographic hashing algorithm.- Returns:
- the cryptographic hashing algorithm
-
setCryptographicHashingAlgorithm
public void setCryptographicHashingAlgorithm(int cryptographicHashingAlgorithm)Sets the cryptographic hashing algorithm.- Parameters:
cryptographicHashingAlgorithm- the new cryptographic hashing algorithm
-
getCryptographicAlgorithmType
Gets the cryptographic algorithm type.- Returns:
- the cryptographic algorithm type
-
setCryptographicAlgorithmType
Sets the cryptographic algorithm type.- Parameters:
cryptographicAlgorithmType- the new cryptographic algorithm type
-
getCryptographicProvider
Gets the cryptographic provider.- Returns:
- the cryptographic provider
-
setCryptographicProvider
Sets the cryptographic provider.- Parameters:
cryptographicProvider- the new cryptographic provider
-
getCryptographicProviderType
Gets the cryptographic provider type.- Returns:
- the cryptographic provider type
-
setCryptographicProviderType
Sets the cryptographic provider type.- Parameters:
cryptographicProviderType- the new cryptographic provider type
-
getCryptographicProviderTypeExtensibility
Gets the cryptographic provider type extensibility.- Returns:
- the cryptographic provider type extensibility
-
setCryptographicProviderTypeExtensibility
public void setCryptographicProviderTypeExtensibility(String cryptographicProviderTypeExtensibility)Sets the cryptographic provider type extensibility.- Parameters:
cryptographicProviderTypeExtensibility- the new cryptographic provider type extensibility
-
getCryptographicProviderTypeExtensibilitySource
Gets the cryptographic provider type extensibility source.- Returns:
- the cryptographic provider type extensibility source
-
setCryptographicProviderTypeExtensibilitySource
public void setCryptographicProviderTypeExtensibilitySource(String cryptographicProviderTypeExtensibilitySource)Sets the cryptographic provider type extensibility source.- Parameters:
cryptographicProviderTypeExtensibilitySource- the new cryptographic provider type extensibility source
-
getIterationCount
public int getIterationCount()Gets the iteration count.- Returns:
- the iteration count
-
setIterationCount
public void setIterationCount(int iterationCount)Sets the iteration count.- Parameters:
iterationCount- the new iteration count
-
getProtectionType
Gets the protection type.- Returns:
- the protection type
-
setProtectionType
Sets the protection type.- Parameters:
protectionType- the new protection type
-
getEnforceDocumentProtectionSettings
Gets the enforce document protection settings.- Returns:
- the enforce document protection settings
-
setEnforceDocumentProtectionSettings
public void setEnforceDocumentProtectionSettings(ExtendedBoolean enforceDocumentProtectionSettings)Sets the enforce document protection settings.- Parameters:
enforceDocumentProtectionSettings- the new enforce document protection settings
-
getFormatting
Gets the formatting.- Returns:
- the formatting
-
setFormatting
Sets the formatting.- Parameters:
formatting- the new formatting
-
getPasswordHash
Gets the password hash.- Returns:
- the password hash
-
setPasswordHash
Sets the password hash.- Parameters:
passwordHash- the new password hash
-
getSalt
Gets the salt.- Returns:
- the salt
-
setSalt
Sets the salt.- Parameters:
salt- the new salt
-