---
title: Encryption Class
description: The name of the class used by the agent to implement encryption and decryption. The class must implement both com.iplanet.services.util.AMEncryption and com.iplanet.services.util.ConfigurableKey.
component: java-agents
version: 2025.11
page_id: java-agents:properties-reference:org.forgerock.agents.encryptor.classname
canonical_url: https://docs.pingidentity.com/java-agents/2025.11/properties-reference/org.forgerock.agents.encryptor.classname.html
---

# Encryption Class

The name of the class used by the agent to implement encryption and decryption. The class must implement both `com.iplanet.services.util.AMEncryption` and `com.iplanet.services.util.ConfigurableKey`.

|   |                                                                                                                                                                                        |
| - | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|   | After changing this property, you must re-encrypt the agent profile password. For more information, refer to [Encrypted Agent Password](org.forgerock.agents.encrypted.password.html). |

|                          |                                                                                                                                          |
| ------------------------ | ---------------------------------------------------------------------------------------------------------------------------------------- |
| Property name            | `org.forgerock.agents.encryptor.classname`                                                                                               |
| Aliases                  | `org.forgerock.agents.encryptor.classname`   Introduced in Java Agent 5.0`com.iplanet.security.encryptor`   Introduced in Java Agent 5.0 |
| Function                 | Encryption, Required                                                                                                                     |
| Type                     | Classname                                                                                                                                |
| Default                  | `org.forgerock.openam.shared.security.crypto.AESWrapEncryption`                                                                          |
| Bootstrap property       | Yes                                                                                                                                      |
| Required property        | Yes - If this property is missing, the agent fails to start                                                                              |
| Restart required         | No                                                                                                                                       |
| Local configuration file | `AgentBootstrap.properties`                                                                                                              |
