public abstract class AbstractPassword extends Object implements Password
Password.Clear| Constructor and Description |
|---|
AbstractPassword() |
| Modifier and Type | Method and Description |
|---|---|
void |
destroy()
Invalidate this password.
|
Password.Clear |
getClearCopy()
Wrap this password in a clear copy.
|
protected abstract Password.Clear |
getClearValidPassword()
Return a new clear copy of this valid password.
|
protected abstract byte[] |
getPrivatePassword()
Get the private bytes of this password, used internally to unset the
bytes when the password is invalidated.
|
PasswordState |
state()
Return the state of this password.
|
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitisDestroyed, newPasswordpublic PasswordState state()
Passwordpublic final void destroy()
Passworddestroy in interface Destroyabledestroy in interface Passwordpublic final Password.Clear getClearCopy()
PasswordgetClearCopy in interface Passwordprotected abstract Password.Clear getClearValidPassword()
protected abstract byte[] getPrivatePassword()
Copyright © 2018 Alternet. All rights reserved.