public enum EncryptionMode extends java.lang.Enum<EncryptionMode>
agile
, standard
or binaryRC4
)
or record based (cryptoAPI
). The record based encryption can't be accessed directly, but will be
invoked by using the Biff8EncryptionKey.setCurrentUserPassword(String)
before saving the document.Enum Constant and Description |
---|
agile |
binaryRC4 |
cryptoAPI |
standard |
xor |
Modifier and Type | Field and Description |
---|---|
java.lang.String |
builder |
int |
encryptionFlags |
int |
versionMajor |
int |
versionMinor |
Modifier and Type | Method and Description |
---|---|
static EncryptionMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static EncryptionMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EncryptionMode binaryRC4
public static final EncryptionMode cryptoAPI
public static final EncryptionMode standard
public static final EncryptionMode agile
public static final EncryptionMode xor
public final java.lang.String builder
public final int versionMajor
public final int versionMinor
public final int encryptionFlags
public static EncryptionMode[] values()
for (EncryptionMode c : EncryptionMode.values()) System.out.println(c);
public static EncryptionMode valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullCopyright 2018 The Apache Software Foundation or its licensors, as applicable.