|
Android 2.3 Gingerbread | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.security.KeyStore.PasswordProtection
public static class KeyStore.PasswordProtection
PasswordProtection is a ProtectionParameter that protects
a KeyStore using a password.
| Constructor Summary | |
|---|---|
KeyStore.PasswordProtection(char[] password)
Constructs a new instance of PasswordProtection with a
password. |
|
| Method Summary | |
|---|---|
void |
destroy()
Destroys / invalidates the password. |
char[] |
getPassword()
Returns the password. |
boolean |
isDestroyed()
Indicates whether the password is invalidated. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public KeyStore.PasswordProtection(char[] password)
PasswordProtection with a
password. A copy of the password is stored in the new PasswordProtection object.
password - the password, maybe null.| Method Detail |
|---|
public char[] getPassword()
IllegalStateException - if the password has been destroyed.
public void destroy()
throws DestroyFailedException
destroy in interface DestroyableDestroyFailedException - if the password could not be invalidated.public boolean isDestroyed()
isDestroyed in interface Destroyabletrue if the password is invalidated, false
otherwise.
|
Android 2.3 Gingerbread | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||