public static enum CPDFDocument.PDFDocumentEncryptAlgo extends java.lang.Enum<CPDFDocument.PDFDocumentEncryptAlgo>
Enum Constant and Description |
---|
PDFDocumentAES128 |
PDFDocumentAES256 |
PDFDocumentNoEncryptAlgo |
PDFDocumentRC4 |
Modifier and Type | Method and Description |
---|---|
static CPDFDocument.PDFDocumentEncryptAlgo |
toEnum(int id) |
int |
toInt() |
static CPDFDocument.PDFDocumentEncryptAlgo |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CPDFDocument.PDFDocumentEncryptAlgo[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CPDFDocument.PDFDocumentEncryptAlgo PDFDocumentRC4
public static final CPDFDocument.PDFDocumentEncryptAlgo PDFDocumentAES128
public static final CPDFDocument.PDFDocumentEncryptAlgo PDFDocumentAES256
public static final CPDFDocument.PDFDocumentEncryptAlgo PDFDocumentNoEncryptAlgo
public static CPDFDocument.PDFDocumentEncryptAlgo[] values()
for (CPDFDocument.PDFDocumentEncryptAlgo c : CPDFDocument.PDFDocumentEncryptAlgo.values()) System.out.println(c);
public static CPDFDocument.PDFDocumentEncryptAlgo 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 nullpublic static CPDFDocument.PDFDocumentEncryptAlgo toEnum(int id)
public int toInt()