public enum PdfEncryptionKeyType extends Enum<PdfEncryptionKeyType>
Java class for PdfEncryptionKeyType.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="PdfEncryptionKeyType">
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="RC4_40"/>
<enumeration value="RC4_128"/>
<enumeration value="AES_128"/>
<enumeration value="AES_256"/>
</restriction>
</simpleType>
| Modifier and Type | Method and Description |
|---|---|
static PdfEncryptionKeyType |
fromValue(String v) |
String |
value() |
static PdfEncryptionKeyType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PdfEncryptionKeyType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PdfEncryptionKeyType RC_4_40
public static final PdfEncryptionKeyType RC_4_128
public static final PdfEncryptionKeyType AES_128
public static final PdfEncryptionKeyType AES_256
public static PdfEncryptionKeyType[] values()
for (PdfEncryptionKeyType c : PdfEncryptionKeyType.values()) System.out.println(c);
public static PdfEncryptionKeyType 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 value()
public static PdfEncryptionKeyType fromValue(String v)
Copyright © 2017–2019 SoftVision Development GmbH, Fulda, Germany. All rights reserved.