public class JCECrypt extends Object
Crypt
provides generic methods to encryt and decrypt
data. This class provides a pluggable architecture to encrypt and decrypt
data, using the AMEncryption
interface class. A class that
implements AMEncryption
must be specified via the system
property: com.iplanet.security.encryptor
. If none is
provided, the default provided by iDSAME
com.iplanet.services.util.JCEEncryption
will be used.
Additionally, it provides a method to check if the calling class has permission to call these methods. To enable the additional security, the property com.sun.identity.security.checkcaller must be set to true.
Constructor and Description |
---|
JCECrypt() |
Modifier and Type | Method and Description |
---|---|
static String |
decode(String encoded)
Decode an encoded string
|
static String |
encode(String clearText) |
Copyright © 2010–2025 Open Identity Platform Community. All rights reserved.