public enum EncryptionAlgorithm extends Enum<EncryptionAlgorithm>
ProtectPDFOperation
Enum Constant and Description |
---|
AES_128
Represents AES-128 encryption algorithm
|
AES_256
Represents AES-256 encryption algorithm
|
Modifier and Type | Method and Description |
---|---|
String |
getValue()
Returns the value of this encryption algorithm
|
static EncryptionAlgorithm |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EncryptionAlgorithm[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EncryptionAlgorithm AES_128
public static final EncryptionAlgorithm AES_256
public static EncryptionAlgorithm[] values()
for (EncryptionAlgorithm c : EncryptionAlgorithm.values()) System.out.println(c);
public static EncryptionAlgorithm valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String getValue()
Copyright © 2023 Adobe. All rights reserved.