Package com.sun.identity.setup
Class JCECrypt
- java.lang.Object
-
- com.sun.identity.setup.JCECrypt
-
public class JCECrypt extends Object
The classCryptprovides generic methods to encryt and decrypt data. This class provides a pluggable architecture to encrypt and decrypt data, using theAMEncryptioninterface class. A class that implementsAMEncryptionmust be specified via the system property:com.iplanet.security.encryptor. If none is provided, the default provided by iDSAMEcom.iplanet.services.util.JCEEncryptionwill 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 Summary
Constructors Constructor Description JCECrypt()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Stringdecode(String encoded)Decode an encoded stringstatic Stringencode(String clearText)
-