EncryptionType Enum
Lists the encryption types used to protect documents.
Declaration
public enum EncryptionType extends Enum<EncryptionType> implements IIntEnum
Members
| Name | Description |
|---|---|
COMPATIBLE
|
Standard encryption for Open XML files. The encryption data uses a binary EncryptionInfo structure. The default encryption algorithm is |
STRONG
|
Agile encryption for Open XML files. The encryption data uses an XML EncryptionInfo structure. The default encryption algorithm is |
fromValue(int value)
|
Returns the enum item with the specified integer value. |
getName()
|
Returns the enum item name. |
getValue()
|
Returns the integer value. |
toString()
|
Returns the string representation. |
valueOf(String name)
|
Returns the enum constant with the specified name. |
values()
|
Returns available constants. |
Remarks
Use the EncryptionOptions class to specify presentation encryption settings. Pass an EncryptionOptions object to the Presentation.encrypt() method to encrypt a presentation.
EncryptionOptions options = new EncryptionOptions("password", EncryptionType.STRONG);
presentation.encrypt(options);
Refer to the following help topic for additional information: Encrypt Presentations.