Protection Property
Specifies a password protection level.
Syntax
public int getProtection(); public void setProtection(int protection);
Enumerated values: public final static int pptNone = 0; public final static int pptLow = 1; public final static int pptNormal = 2; public final static int pptHigh = 3;
Remarks
This property specifies the complexity of key derivation function for password-protected documents.
Allowed values:
pptNone | 0 | Key is not encrypted |
pptLow | 1 | Only the password hash is used to derive the secret key |
pptNormal | 2 | Password hash with salt is used to derive the secret key |
pptHigh | 3 | Hash from multiple passwords and salt are used for key derivation |
Default Value
0