Modifier and Type | Class and Description |
---|---|
private static class | |
private class | |
private static class | |
private static class | SunPKCS11.
Serialized representation of the SunPKCS11 provider. |
private static class |
Modifier and Type | Field and Description |
---|---|
private static final String | |
private static final String | |
pack-priv static SunPKCS11. | |
pack-priv final Config | |
pack-priv static final Debug | |
private static final Map | |
private static final String | |
private static final String | |
private static final String | |
private static final String | |
private static final String | |
private final Object | |
private static final String | |
private static final String | |
pack-priv final Secmod. | |
pack-priv final boolean | |
pack-priv final PKCS11 | |
private CallbackHandler | |
private SunPKCS11. | |
pack-priv final boolean | |
private static final long | |
private static final String | |
private static final String | |
pack-priv final long | |
private static final String | |
private volatile Token |
Access | Constructor and Description |
---|---|
public | |
pack-priv |
Modifier and Type | Method and Description |
---|---|
private static <T> T | |
public Provider | configure(String
the configuration information for configuring this
provider. configArg)Overrides java. Apply the supplied configuration argument to this |
private void | |
private void | |
private static void | |
private static void | |
private static void | |
private static void | |
private static void | |
private void | |
public boolean | equals(Object
object to be compared for equality with this hashtable obj)Overrides java. Implements java. Compares the specified Object with this Map for equality, as per the definition in the Map interface. |
private CallbackHandler | |
pack-priv Token | |
public int | hashCode()
Overrides java. Implements java. Returns the hash code value for this Map as per the definition in the Map interface. |
private boolean | |
private void | |
public boolean | isConfigured()
Overrides java. Check if this |
private static boolean | |
public void | login(Subject
this parameter is ignored subject, CallbackHandler the handler)CallbackHandler used by
this provider to communicate with the callerImplements abstract java. Log in to this provider. |
public void | |
private static int[] | |
private static int[] | |
private static int[] | |
private static int[] | |
private static void | |
public void | setCallbackHandler(CallbackHandler
a handler)CallbackHandler for obtaining
authentication information, which may be null Implements abstract java. Set a The provider uses this handler if one is not passed to the
|
private static String | |
pack-priv synchronized void | |
private Object |
AGP | back to summary |
---|---|
private static final String AGP |
CIP | back to summary |
---|---|
private static final String CIP |
cleaner | back to summary |
---|---|
pack-priv static SunPKCS11. |
config | back to summary |
---|---|
pack-priv final Config config
|
debug | back to summary |
---|---|
pack-priv static final Debug debug Hides java. |
descriptors | back to summary |
---|---|
private static final Map<Integer, List<SunPKCS11. |
KA | back to summary |
---|---|
private static final String KA |
KF | back to summary |
---|---|
private static final String KF |
KG | back to summary |
---|---|
private static final String KG |
KPG | back to summary |
---|---|
private static final String KPG |
KS | back to summary |
---|---|
private static final String KS |
LOCK_HANDLER | back to summary |
---|---|
private final Object LOCK_HANDLER
|
MAC | back to summary |
---|---|
private static final String MAC |
MD | back to summary |
---|---|
private static final String MD |
nssModule | back to summary |
---|---|
pack-priv final Secmod.
|
nssUseSecmodTrust | back to summary |
---|---|
pack-priv final boolean nssUseSecmodTrust |
p11 | back to summary |
---|---|
pack-priv final PKCS11 p11
|
pHandler | back to summary |
---|---|
private CallbackHandler pHandler
|
poller | back to summary |
---|---|
private SunPKCS11.
|
removable | back to summary |
---|---|
pack-priv final boolean removable |
serialVersionUID | back to summary |
---|---|
private static final long serialVersionUID Hides java. |
SIG | back to summary |
---|---|
private static final String SIG |
SKF | back to summary |
---|---|
private static final String SKF |
slotID | back to summary |
---|---|
pack-priv final long slotID |
SR | back to summary |
---|---|
private static final String SR |
token | back to summary |
---|---|
private volatile Token token |
SunPKCS11 | back to summary |
---|---|
public SunPKCS11() |
SunPKCS11 | back to summary |
---|---|
pack-priv SunPKCS11(Config c) |
checkNull | back to summary |
---|---|
private static <T> T checkNull(T obj) |
configure | back to summary |
---|---|
public Provider configure(String configArg) throws InvalidParameterException Overrides java. Doc from java. Apply the supplied configuration argument to this
|
createCleaner | back to summary |
---|---|
private void createCleaner()
|
createPoller | back to summary |
---|---|
private void createPoller()
|
d | back to summary |
---|---|
private static void d(String type, String algorithm, String className, int[] m) |
d | back to summary |
---|---|
private static void d(String type, String algorithm, String className, List<String> aliases, int[] m) |
d | back to summary |
---|---|
private static void d(String type, String algorithm, String className, int[] m, int[] requiredMechs) |
dA | back to summary |
---|---|
private static void dA(String type, String algorithm, String className, int[] m) |
dA | back to summary |
---|---|
private static void dA(String type, String algorithm, String className, int[] m, int[] requiredMechs) |
destroyPoller | back to summary |
---|---|
private void destroyPoller() |
equals | back to summary |
---|---|
public boolean equals(Object obj) Overrides java. Implements java. Doc from java. Compares the specified Object with this Map for equality, as per the definition in the Map interface.
|
getCallbackHandler | back to summary |
---|---|
private CallbackHandler getCallbackHandler(CallbackHandler handler) |
getToken | back to summary |
---|---|
pack-priv Token getToken() |
hashCode | back to summary |
---|---|
public int hashCode() Overrides java. Implements java. Doc from java. Returns the hash code value for this Map as per the definition in the Map interface.
|
hasValidToken | back to summary |
---|---|
private boolean hasValidToken() |
initToken | back to summary |
---|---|
private void initToken(CK_SLOT_INFO slotInfo) throws PKCS11Exception |
isConfigured | back to summary |
---|---|
public boolean isConfigured() Overrides java. Doc from java. Check if this
|
isLegacy | back to summary |
---|---|
private static boolean isLegacy(CK_MECHANISM_INFO mechInfo) throws PKCS11Exception |
login | back to summary |
---|---|
public void login(Subject subject, CallbackHandler handler) throws LoginException Implements abstract java. Log in to this provider. If the token expects a PIN to be supplied by the caller,
the To determine if the token supports a protected authentication path, the CK_TOKEN_INFO flag, CKF_PROTECTED_AUTHENTICATION_PATH, is consulted.
|
logout | back to summary |
---|---|
public void logout() throws LoginException Implements abstract java. Log out from this provider
|
m | back to summary |
---|---|
private static int[] m(long m1) |
m | back to summary |
---|---|
private static int[] m(long m1, long m2) |
m | back to summary |
---|---|
private static int[] m(long m1, long m2, long m3) |
m | back to summary |
---|---|
private static int[] m(long m1, long m2, long m3, long m4) |
register | back to summary |
---|---|
private static void register(SunPKCS11. |
setCallbackHandler | back to summary |
---|---|
public void setCallbackHandler(CallbackHandler handler) Implements abstract java. Set a The provider uses this handler if one is not passed to the
|
toString | back to summary |
---|---|
private static String toString(long[] longs) |
uninitToken | back to summary |
---|---|
pack-priv synchronized void uninitToken(Token token)
|
writeReplace | back to summary |
---|---|
private Object writeReplace() throws ObjectStreamException |
Modifier and Type | Field and Description |
---|---|
pack-priv final String | |
pack-priv final List | |
pack-priv final String | |
pack-priv final int[] | |
pack-priv final int[] | |
pack-priv final String |
Access | Constructor and Description |
---|---|
private | |
private |
Modifier and Type | Method and Description |
---|---|
private SunPKCS11. | |
public String |
algorithm | back to summary |
---|---|
pack-priv final String algorithm |
aliases | back to summary |
---|---|
pack-priv final List<String> aliases |
className | back to summary |
---|---|
pack-priv final String className |
mechanisms | back to summary |
---|---|
pack-priv final int[] mechanisms |
requiredMechs | back to summary |
---|---|
pack-priv final int[] requiredMechs |
type | back to summary |
---|---|
pack-priv final String type |
Descriptor | back to summary |
---|---|
private Descriptor(String type, String algorithm, String className, List<String> aliases, int[] mechanisms) |
Descriptor | back to summary |
---|---|
private Descriptor(String type, String algorithm, String className, List<String> aliases, int[] mechanisms, int[] requiredMechs) |
service | back to summary |
---|---|
private SunPKCS11. |
toString | back to summary |
---|---|
public String toString() Overrides java. Doc from java. Returns a string representation of the object.
|
Modifier and Type | Field and Description |
---|---|
private int | |
pack-priv boolean | |
pack-priv boolean | |
private long |
Access | Constructor and Description |
---|---|
private |
Modifier and Type | Method and Description |
---|---|
public void |
count | back to summary |
---|---|
private int count |
keyRefFound | back to summary |
---|---|
pack-priv boolean keyRefFound |
sessRefFound | back to summary |
---|---|
pack-priv boolean sessRefFound |
sleepMillis | back to summary |
---|---|
private long sleepMillis |
NativeResourceCleaner | back to summary |
---|---|
private NativeResourceCleaner() |
run | back to summary |
---|---|
public void run() Implements java. Doc from java. Runs this operation.
|
Modifier and Type | Field and Description |
---|---|
private final long | |
private final Token |
Access | Constructor and Description |
---|---|
pack-priv |
Modifier and Type | Method and Description |
---|---|
private boolean | |
public Object | newInstance(Object
the value to pass to the constructor,
or param)null if this type of service does not use a
constructorParameter.Overrides java. Return a new instance of the implementation described by this service. |
public Object | |
public boolean | supportsParameter(Object
the parameter to test param)Overrides java. Test whether this Service can use the specified parameter. |
public String | toString()
Overrides java. Return a |
mechanism | back to summary |
---|---|
private final long mechanism |
token | back to summary |
---|---|
private final Token token |
P11Service | back to summary |
---|---|
pack-priv P11Service(Token token, String type, String algorithm, String className, List<String> al, long mechanism) |
isLocalKey | back to summary |
---|---|
private boolean isLocalKey(Key key) |
newInstance | back to summary |
---|---|
public Object newInstance(Object param) throws NoSuchAlgorithmException Overrides java. Doc from java. Return a new instance of the implementation described by this service. The security provider framework uses this method to construct implementations. Applications will typically not need to call it. The default implementation uses reflection to invoke the standard constructor for this type of service. Security providers can override this method to implement instantiation in a different way. For details and the values of constructorParameter that are valid for the various types of services see the Java Cryptography Architecture (JCA) Reference Guide.
|
newInstance0 | back to summary |
---|---|
public Object newInstance0(Object param) throws PKCS11Exception, NoSuchAlgorithmException |
supportsParameter | back to summary |
---|---|
public boolean supportsParameter(Object param) Overrides java. Doc from java. Test whether this Service can use the specified parameter.
Returns The security provider framework uses this method with some types of services to quickly exclude non-matching implementations for consideration. Applications will typically not need to call it. For details and the values of parameter that are valid for the various types of services see the top of this class and the Java Cryptography Architecture (JCA) Reference Guide. Security providers can override it to implement their own test.
|
toString | back to summary |
---|---|
public String toString() Overrides java. Doc from java. Return a
|
Modifier and Type | Field and Description |
---|---|
private final String | |
private final String | |
pack-priv static final long |
Access | Constructor and Description |
---|---|
pack-priv |
Modifier and Type | Method and Description |
---|---|
private Object |
configName | back to summary |
---|---|
private final String configName |
providerName | back to summary |
---|---|
private final String providerName |
serialVersionUID | back to summary |
---|---|
pack-priv static final long serialVersionUID |
SunPKCS11Rep | back to summary |
---|---|
pack-priv SunPKCS11Rep(SunPKCS11 provider) throws NotSerializableException |
readResolve | back to summary |
---|---|
private Object readResolve() throws ObjectStreamException |
Modifier and Type | Field and Description |
---|---|
private volatile boolean | |
private final SunPKCS11 |
Access | Constructor and Description |
---|---|
private |
Modifier and Type | Method and Description |
---|---|
pack-priv void | |
public void |
enabled | back to summary |
---|---|
private volatile boolean enabled |
provider | back to summary |
---|---|
private final SunPKCS11 provider |
TokenPoller | back to summary |
---|---|
private TokenPoller(SunPKCS11 provider) |
disable | back to summary |
---|---|
pack-priv void disable() |
run | back to summary |
---|---|
public void run() Implements java. Doc from java. Runs this operation.
|