- getPlainText
Obtains the plain text password. Before using this method, ask yourself if you'd
be better off using
- fromString
Attempts to treat the given string first as a cipher text, and if it doesn't
work, treat the given s
- toString
Works just like Secret#toString() but avoids NPE when the secret is null. To be
consistent with #fro
- getEncryptedValue
Encrypts #value and returns it in an encoded printable form.
- <init>
- decrypt
Reverse operation of #getEncryptedValue(). Returns null if the given cipher text
was invalid.
- getCipher
Workaround for HUDSON-6459 / http://java.net/jira/browse/GLASSFISH-11862 . This
method uses specific
- equals
- getKey
Turns Hudson#getSecretKey() into an AES key.
- isValidData