Inheritance: java.lang.Object, java.lang.Enum < KeySize > com.aspose.pdf.facades.KeySize, java.lang.Enum < KeySize >, com.aspose.pdf.facades.KeySize

All Implemented Interfaces: Serializable, Comparable < KeySize >

public enum KeySize extends Enum < KeySize >

Defines different key sizes which can be used to encrypt pdf documents.

Fields

FieldDescription
x128128 bit key.
x256256 bit key.
x4040 bit key.

Methods

MethodDescription
getValue
valueOfReturns the enum constant of this type with the specified name.
valuesReturns an array containing the constants of this enum type, in the order they are declared.

x128

public static final KeySize x128

128 bit key.

x256

public static final KeySize x256

256 bit key.

x40

public static final KeySize x40

40 bit key.

getValue

public int getValue()

valueOf

Returns the enum constant of this type with the specified name.

values

public static KeySize [] values()

Returns an array containing the constants of this enum type, in the order they are declared.

Returns: an array containing the constants of this enum type, in the order they are declared