**Inheritance:**
java.lang.Object, java.lang.Enum < CryptoAlgorithm > com.aspose.pdf.CryptoAlgorithm, java.lang.Enum < CryptoAlgorithm >, com.aspose.pdf.CryptoAlgorithm

**All Implemented Interfaces:**
Serializable, Comparable < CryptoAlgorithm >

```
public enum CryptoAlgorithm extends Enum < CryptoAlgorithm >
```

Represent type of cryptographic algorithm that used in encryption/decryption routines.

## Fields

| Field | Description |
| --- | --- |
| [AESx128](#AESx128) | AES with key length 128. |
| [AESx256](#AESx256) | AES with key length 256. |
| [Custom](#Custom) | The custom encryption algorithm |
| [RC4x128](#RC4x128) | RC4 with key length 128. |
| [RC4x40](#RC4x40) | RC4 with key length 40. |

## Fields

| Field | Description |
| --- | --- |
| [ALGORITHMS](#ALGORITHMS) |  |

## Methods

| Method | Description |
| --- | --- |
| [getValue](#getValue--) |  |
| [next](#next--) |  |
| [prev](#prev--) |  |
| [valueOf](#valueOf-java.lang.String-) | Returns the enum constant of this type with the specified name. |
| [values](#values--) | Returns an array containing the constants of this enum type, in the order they are declared. |

### AESx128 {#AESx128}
```
public static final CryptoAlgorithm AESx128
```

AES with key length 128.

### AESx256 {#AESx256}
```
public static final CryptoAlgorithm AESx256
```

AES with key length 256.

### Custom {#Custom}
```
public static final CryptoAlgorithm Custom
```

The custom encryption algorithm

### RC4x128 {#RC4x128}
```
public static final CryptoAlgorithm RC4x128
```

RC4 with key length 128.

### RC4x40 {#RC4x40}
```
public static final CryptoAlgorithm RC4x40
```

RC4 with key length 40.

### ALGORITHMS {#ALGORITHMS}
```
public static final CryptoAlgorithm [] ALGORITHMS
```



### getValue {#getValue--}
```
public int getValue()
```



### next {#next--}
```
public CryptoAlgorithm next()
```



### prev {#prev--}
```
public CryptoAlgorithm prev()
```



### valueOf {#valueOf-java.lang.String-}
Returns the enum constant of this type with the specified name.

### values {#values--}
```
public static CryptoAlgorithm [] 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
