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:
AutoCloseable
-
Field Summary
FieldsModifier and TypeFieldDescriptionint
boolean
int
boolean
boolean
int
Fields inherited from class org.mozilla.jss.util.NativeProxy
logger
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
invokeBadCertHandler
(int error) int
protected void
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, hashCode, isNull, purgeAllInRegistry, toString
-
Field Details
-
clientCert
-
globalRef
-
inboundAlerts
-
inboundOffset
public int inboundOffset -
outboundAlerts
-
outboundOffset
public int outboundOffset -
needCertValidation
public boolean needCertValidation -
needBadCertValidation
public boolean needBadCertValidation -
badCertError
public int badCertError -
handshakeComplete
public boolean handshakeComplete -
certAuthHandler
-
badCertHandler
-
-
Constructor Details
-
SSLFDProxy
public SSLFDProxy(byte[] pointer)
-
-
Method Details
-
SetClientCert
- Throws:
IllegalArgumentException
-
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
- Throws:
Exception
-
invokeCertAuthHandler
public int invokeCertAuthHandler() -
invokeBadCertHandler
public int invokeBadCertHandler(int error)
-