Skip to main content

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 AES-128, and the hashing algorithm is SHA-1.

STRONG

Agile encryption for Open XML files. The encryption data uses an XML EncryptionInfo structure. The default encryption algorithm is AES-256, and the hashing algorithm is SHA-512. Binary files use RC4 CryptoAPI encryption.

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.

Implements

com.devexpress.java.enums.IIntEnum

Inherited Members

java.lang.Enum.<T>valueOf(java.lang.Class<T>,java.lang.String)
java.lang.Enum.clone()
java.lang.Enum.compareTo(E)
java.lang.Enum.describeConstable()
java.lang.Enum.equals(java.lang.Object)
java.lang.Enum.finalize()
java.lang.Enum.getDeclaringClass()
java.lang.Enum.hashCode()
java.lang.Enum.name()
java.lang.Enum.ordinal()
java.lang.Enum.toString()
java.lang.Object.getClass()
java.lang.Object.notify()
java.lang.Object.notifyAll()
java.lang.Object.wait()
java.lang.Object.wait(long)
java.lang.Object.wait(long,int)

Inheritance

Object
java.lang.Enum
EncryptionType