Package org.mozilla.jss.util
Class PasswordCallbackInfo
java.lang.Object
org.mozilla.jss.util.PasswordCallbackInfo
- Direct Known Subclasses:
TokenCallbackInfo
An object of this class is passed to a PasswordCallback to give it
information about the token that is being logged into.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
name
-
type
protected int type -
FILE
public static final int FILELogging into a file.- See Also:
-
TOKEN
public static final int TOKENLogging into a PKCS #11 token.- See Also:
-
-
Constructor Details
-
PasswordCallbackInfo
- Parameters:
name
- The name of the file or token that is being logged into.type
- The type of object (FILE
orTOKEN
) that is being logged into.
-
-
Method Details
-
getName
The name of the file or token that is being logged into. -
getType
public int getType()The type of object that is being logged into,FILE
orTOKEN
.
-