@Deprecated public class EncUtils extends Object
| Modifier and Type | Field and Description | 
|---|---|
| static com.google.common.base.Optional<EncryptionService> | ABSENTDeprecated.  | 
| Constructor and Description | 
|---|
| EncUtils()Deprecated.  | 
| Modifier and Type | Method and Description | 
|---|---|
| static List<String> | decrypt(EncryptionService enc,
              List<String> strings)Deprecated.  Return a new list containing the same elements in the same order only with any encrypted strings having been decrypted. | 
| static com.google.common.base.Optional<String> | decrypt(EncryptionService enc,
              com.google.common.base.Optional<String> optional)Deprecated.  | 
| static List<String> | decrypt(com.google.common.base.Optional<EncryptionService> enc,
              List<String> strings)Deprecated.  If enc is present, return a new list containing the same elements in the same order only with any encrypted strings having been decrypted. | 
| static com.google.common.base.Optional<String> | decrypt(com.google.common.base.Optional<EncryptionService> enc,
              com.google.common.base.Optional<String> string)Deprecated.  If enc and string are both present and the string is encrypted, return the decrypted string. | 
| static String | decrypt(com.google.common.base.Optional<EncryptionService> enc,
              String string)Deprecated.  If enc is present and the string is encrypted, return the decrypted string. | 
| static org.jasypt.util.text.TextEncryptor | getTextEncryptor(String password)Deprecated.  Returns a  BasicTextEncryptorthat usespasswordto encrypt/decrypt. | 
| static org.jasypt.util.text.TextEncryptor | getTextEncryptor(String password,
                                EncStrength strength)Deprecated.  Return a  BasicTextEncryptororStrongTextEncryptordepending on whatstrengthis set to | 
| static boolean | isEncrypted(String text)Deprecated.  Return true if the text is enclosed with  ENC()or starts withenc-- | 
| static String | unwrap(String text)Deprecated.  | 
| static String | wrap(String text)Deprecated.  | 
public static final com.google.common.base.Optional<EncryptionService> ABSENT
public EncUtils()
public static boolean isEncrypted(String text)
ENC() or starts with enc--public static org.jasypt.util.text.TextEncryptor getTextEncryptor(String password)
BasicTextEncryptor that uses password to encrypt/decrypt.public static org.jasypt.util.text.TextEncryptor getTextEncryptor(String password, EncStrength strength)
BasicTextEncryptor or StrongTextEncryptor depending on what strength is set topublic static com.google.common.base.Optional<String> decrypt(com.google.common.base.Optional<EncryptionService> enc, com.google.common.base.Optional<String> string)
public static String decrypt(com.google.common.base.Optional<EncryptionService> enc, String string)
public static List<String> decrypt(com.google.common.base.Optional<EncryptionService> enc, List<String> strings)
public static List<String> decrypt(EncryptionService enc, List<String> strings)
public static com.google.common.base.Optional<String> decrypt(EncryptionService enc, com.google.common.base.Optional<String> optional)
Copyright © 2010–2014 The Kuali Foundation. All rights reserved.