JSS 3.1.2

org.mozilla.jss.pkcs12
Class PK12TokenProxy

java.lang.Object
  |
  +--org.mozilla.jss.util.NativeProxy
        |
        +--org.mozilla.jss.pkcs12.PK12TokenProxy

class PK12TokenProxy
extends NativeProxy


Fields inherited from class org.mozilla.jss.util.NativeProxy
indexGenerator, mPointer, registry, registryIndex
 
Constructor Summary
PK12TokenProxy(byte[] pointer)
           
 
Method Summary
protected  void finalize()
          Finalize this NativeProxy by releasing its native resources.
protected  void releaseNativeResources()
          This is a "no-op" because all freeing of "C" resources is performed inside "C" by the destroyPK12TokenExportContext( exportProxy ) and the destroyPK12TokenImportContext( importProxy ) functions.
 
Methods inherited from class org.mozilla.jss.util.NativeProxy
, assertRegistryEmpty, equals, getRegistryIndex, getRegistryIndices, register, unregister
 
Methods inherited from class java.lang.Object
clone, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Constructor Detail

PK12TokenProxy

public PK12TokenProxy(byte[] pointer)
Method Detail

finalize

protected void finalize()
                 throws java.lang.Throwable
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 class NativeProxy

releaseNativeResources

protected void releaseNativeResources()
This is a "no-op" because all freeing of "C" resources is performed inside "C" by the destroyPK12TokenExportContext( exportProxy ) and the destroyPK12TokenImportContext( importProxy ) functions.
Overrides:
releaseNativeResources in class NativeProxy

JSS 3.1.2