---
title: "CryptographicStandard"
url: "https://reference.aspose.com/pdf/java/com.aspose.pdf/cryptographicstandard/"
product: "Aspose.PDF for Java API Reference"
description: "/ * / * The {@code Aspose.Pdf.Security } namespace contains classes used for encryption and digital signing. / * /"
---

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

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

```
public enum CryptographicStandard extends Enum < CryptographicStandard >
```

/ * / * The {@code Aspose.Pdf.Security } namespace contains classes used for encryption and digital signing. / * /

## Fields

| Field | Description |
| --- | --- |
| [Pkcs1](#Pkcs1) | Public-Key Cryptography Standards (PKCS) #1 |
| [Pkcs7](#Pkcs7) | Public-Key Cryptography Standards (PKCS) #7 |
| [Rfc3161](#Rfc3161) | Public Key Infrastructure Time-Stamp Protocol (TSP, rfc3161). |

## Methods

| Method | Description |
| --- | --- |
| [getByValue](#getByValue-int-) |  |
| [getValue](#getValue--) |  |
| [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. |

### Pkcs1 {#Pkcs1}
```
public static final CryptographicStandard Pkcs1
```

Public-Key Cryptography Standards (PKCS) #1

### Pkcs7 {#Pkcs7}
```
public static final CryptographicStandard Pkcs7
```

Public-Key Cryptography Standards (PKCS) #7

### Rfc3161 {#Rfc3161}
```
public static final CryptographicStandard Rfc3161
```

Public Key Infrastructure Time-Stamp Protocol (TSP, rfc3161).

### getByValue {#getByValue-int-}
```
public static CryptographicStandard getByValue(int value)
```



**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value |  |  |

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



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

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