Package org.mozilla.jss.pkcs11
Class KeyProxy
java.lang.Object
org.mozilla.jss.util.NativeProxy
org.mozilla.jss.pkcs11.KeyProxy
- All Implemented Interfaces:
AutoCloseable
- Direct Known Subclasses:
PrivateKeyProxy
,PublicKeyProxy
,SymKeyProxy
-
Field Summary
Fields inherited from class org.mozilla.jss.util.NativeProxy
logger
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected void
finalize()
Finalize this NativeProxy by releasing its native resources.Methods inherited from class org.mozilla.jss.util.NativeProxy
assertRegistryEmpty, clear, close, equals, hashCode, isNull, purgeAllInRegistry, releaseNativeResources, toString
-
Constructor Details
-
KeyProxy
protected KeyProxy(byte[] pointer)
-
-
Method Details
-
finalize
Description copied from class:NativeProxy
Finalize this NativeProxy by releasing its native resources. The finalizer calls releaseNativeResources() so you don't have to. This finalizer should be called from the finalize() method of all subclasses: class MyProxy extends NativeProxy { [...] protected void finalize() throws Throwable { // do any object-specific finalization other than // releasing native resources [...] super.finalize(); } }- Overrides:
finalize
in classNativeProxy
- Throws:
Throwable
-