public abstract class AbstractClearPassword extends Object implements Password.Clear
| Constructor and Description |
|---|
AbstractClearPassword() |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Unset the clear password after usage.
|
char[] |
get()
Get a clear copy of the password ; the password remains obfuscated
until this method is invoked.
|
protected abstract char[] |
getClearCopy()
Deobfuscate the underlying password.
|
protected abstract boolean |
isDestroyed()
Indicates whether the underlying password has been invalidated.
|
public final char[] get()
Password.Clearget in interface Password.Clearprotected abstract boolean isDestroyed()
protected abstract char[] getClearCopy()
public void close()
Password.Clearclose in interface AutoCloseableclose in interface Password.ClearCopyright © 2018 Alternet. All rights reserved.