# Class ProtectionLevel (3.14.0)

3.14.0 (latest) 3.13.0 3.12.0 3.11.0 3.10.0 3.9.0 3.8.0 3.7.0 3.6.0 3.5.1 3.4.0 3.3.1 3.2.2 3.1.1 3.0.0 2.24.2 2.23.0 2.22.0 2.21.4 2.20.0 2.19.2 2.18.0 2.17.0 2.16.1 2.15.0 2.14.1 2.13.0 2.12.3 2.11.2 2.10.1 2.9.0 2.8.0 2.7.0 2.6.1 2.5.0 2.4.3 2.3.0 2.2.0 2.1.0 2.0.1 1.4.2 1.3.0 1.2.1 1.1.0

    ProtectionLevel(value)

ProtectionLevel specifies how
cryptographic operations are performed. For more information, see
[Protection levels](https://cloud.google.com/kms/docs/algorithms#protection_levels).

| ## Enums ||
|---|---|
| **Name** | **Description** |
| `PROTECTION_LEVEL_UNSPECIFIED` | Not specified. |
| `SOFTWARE` | Crypto operations are performed in software. |
| `HSM` | Crypto operations are performed in a Hardware Security Module. |
| `EXTERNAL` | Crypto operations are performed by an external key manager. |
| `EXTERNAL_VPC` | Crypto operations are performed in an EKM-over-VPC backend. |
| `HSM_SINGLE_TENANT` | Crypto operations are performed in a single-tenant HSM. |