Package org.mozilla.jss.pkcs11
Class TokenProxy
java.lang.Object
org.mozilla.jss.util.NativeProxy
org.mozilla.jss.pkcs11.TokenProxy
- All Implemented Interfaces:
AutoCloseable
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected void
Release the native resources used by this proxy.Methods inherited from class org.mozilla.jss.util.NativeProxy
assertRegistryEmpty, clear, close, equals, finalize, hashCode, isNull, purgeAllInRegistry, toString
-
Field Details
-
logger
public static org.slf4j.Logger logger
-
-
Constructor Details
-
TokenProxy
public TokenProxy(byte[] pointer)
-
-
Method Details
-
releaseNativeResources
protected void releaseNativeResources()Description copied from class:NativeProxy
Release the native resources used by this proxy. Subclasses of NativeProxy must define this method to clean up data structures in C code that are referenced by this proxy. releaseNativeResources() will usually be implemented as a native method.You don't call this method; NativeProxy.finalize() or close() calls it for you.
If you free these resources explicitly, call clear(); instead.- Specified by:
releaseNativeResources
in classNativeProxy
-