Package org.mozilla.jss.nss
Class SSLFDProxy
- java.lang.Object
-
- org.mozilla.jss.util.NativeProxy
-
- org.mozilla.jss.nss.PRFDProxy
-
- org.mozilla.jss.nss.SSLFDProxy
-
- All Implemented Interfaces:
java.lang.AutoCloseable
public class SSLFDProxy extends PRFDProxy
-
-
Field Summary
Fields Modifier and Type Field Description PK11Cert
clientCert
-
Fields inherited from class org.mozilla.jss.util.NativeProxy
logger
-
-
Constructor Summary
Constructors Constructor Description SSLFDProxy(byte[] pointer)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
finalize()
Finalize this NativeProxy by releasing its native resources.protected void
releaseNativeResources()
Release the native resources used by this proxy.void
SetClientCert(X509Certificate cert)
-
Methods inherited from class org.mozilla.jss.util.NativeProxy
assertRegistryEmpty, clear, close, equals
-
-
-
-
Field Detail
-
clientCert
public PK11Cert clientCert
-
-
Method Detail
-
SetClientCert
public void SetClientCert(X509Certificate cert) throws java.lang.IllegalArgumentException
- Throws:
java.lang.IllegalArgumentException
-
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.- Overrides:
releaseNativeResources
in classPRFDProxy
-
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(); } }
-
-