|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.mozilla.jss.util.PasswordCallbackInfo
public class PasswordCallbackInfo
An object of this class is passed to a PasswordCallback to give it information about the token that is being logged into.
| Field Summary | |
|---|---|
static int |
FILE
Logging into a file. |
protected java.lang.String |
name
|
static int |
TOKEN
Logging into a PKCS #11 token. |
protected int |
type
|
| Constructor Summary | |
|---|---|
PasswordCallbackInfo(java.lang.String name,
int type)
|
|
| Method Summary | |
|---|---|
java.lang.String |
getName()
The name of the file or token that is being logged into. |
int |
getType()
The type of object that is being logged into, FILE
or TOKEN. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected java.lang.String name
protected int type
public static final int FILE
public static final int TOKEN
| Constructor Detail |
|---|
public PasswordCallbackInfo(java.lang.String name,
int type)
name - The name of the file or token that is being logged into.type - The type of object (FILE or
TOKEN) that is being logged into.| Method Detail |
|---|
public java.lang.String getName()
public int getType()
FILE
or TOKEN.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||