Package org.mozilla.jss.util
Class PasswordCallbackInfo
- java.lang.Object
-
- org.mozilla.jss.util.PasswordCallbackInfo
-
public class PasswordCallbackInfo extends java.lang.Object
An object of this class is passed to a PasswordCallback to give it information about the token that is being logged into.
-
-
Constructor Summary
Constructors Constructor Description PasswordCallbackInfo(java.lang.String name, int type)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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
orTOKEN
.
-
-
-
Field Detail
-
name
protected java.lang.String name
-
type
protected int type
-
FILE
public static final int FILE
Logging into a file.- See Also:
- Constant Field Values
-
TOKEN
public static final int TOKEN
Logging into a PKCS #11 token.- See Also:
- Constant Field Values
-
-