public final class PasswordUtils
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int |
MAXTIDENT |
Constructor and Description |
---|
PasswordUtils() |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
decryptPassword(java.lang.String key,
java.lang.String iv64,
java.lang.String epasswd64,
java.lang.String encryptionType) |
public static final int MAXTIDENT
public static java.lang.String decryptPassword(java.lang.String key, java.lang.String iv64, java.lang.String epasswd64, java.lang.String encryptionType)
key
- The key used for encrypt/decrypt password.iv64
- The initialization vector from WTC configuration.epasswd64
- The encrypted password from WTC configuration.encryptionType
- A value of "AES" indicates that the password should
be decrypted with AES256 as opposed to DES (default)