java.lang.Object | ||||||
↳ | java.util.Dictionary<K, V> | |||||
↳ | java.util.Hashtable<K, V> | |||||
↳ | java.util.Properties | |||||
↳ | java.security.Provider | |||||
↳ | java.security.AuthProvider | |||||
↳ | sun.security.pkcs11.SunPKCS11 |
PKCS#11 provider main class.
[Expand]
Inherited Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
This constructor is deprecated.
use new SunPKCS11(String) or new SunPKCS11(InputStream) instead
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Compares the specified Object with this Map for equality,
as per the definition in the Map interface.
| |||||||||||
Returns the hash code value for this Map as per the definition in the
Map interface.
| |||||||||||
Log in to this provider.
| |||||||||||
Log out from this provider
| |||||||||||
Set a
CallbackHandler
The provider uses this handler if one is not passed to the
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() |
This constructor is deprecated.
use new SunPKCS11(String) or new SunPKCS11(InputStream) instead
Compares the specified Object with this Map for equality, as per the definition in the Map interface.
obj | object to be compared for equality with this hashtable |
---|
Returns the hash code value for this Map as per the definition in the Map interface.
Log in to this provider.
If the token expects a PIN to be supplied by the caller,
the handler
implementation must support
a PasswordCallback
.
To determine if the token supports a protected authentication path, the CK_TOKEN_INFO flag, CKF_PROTECTED_AUTHENTICATION_PATH, is consulted.
subject | this parameter is ignored |
---|---|
handler | the CallbackHandler used by
this provider to communicate with the caller |
LoginException | if the login operation fails |
---|---|
SecurityException | if the does not pass a security check for
SecurityPermission("authProvider.name") ,
where name is the value returned by
this provider's getName method
|
Log out from this provider
LoginException | if the logout operation fails |
---|---|
SecurityException | if the does not pass a security check for
SecurityPermission("authProvider.name") ,
where name is the value returned by
this provider's getName method
|
Set a CallbackHandler
The provider uses this handler if one is not passed to the
login
method. The provider also uses this handler
if it invokes login
on behalf of callers.
In either case if a handler is not set via this method,
the provider queries the
auth.login.defaultCallbackHandler security property
for the fully qualified class name of a default handler implementation.
If the security property is not set,
the provider is assumed to have alternative means
for obtaining authentication information.
handler | a CallbackHandler for obtaining
authentication information, which may be null |
---|
SecurityException | if the caller does not pass a
security check for
SecurityPermission("authProvider.name") ,
where name is the value returned by
this provider's getName method
|
---|