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
GlobalRefProxy
globalRef
CertAuthHandler
handler
boolean
handshakeComplete
java.util.ArrayList<SSLAlertEvent>
inboundAlerts
int
inboundOffset
boolean
needCertValidation
java.util.ArrayList<SSLAlertEvent>
outboundAlerts
int
outboundOffset
-
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 int
invokeCertAuthHandler()
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, hashCode, isNull, purgeAllInRegistry, toString
-
-
-
-
Field Detail
-
clientCert
public PK11Cert clientCert
-
globalRef
public GlobalRefProxy globalRef
-
inboundAlerts
public java.util.ArrayList<SSLAlertEvent> inboundAlerts
-
inboundOffset
public int inboundOffset
-
outboundAlerts
public java.util.ArrayList<SSLAlertEvent> outboundAlerts
-
outboundOffset
public int outboundOffset
-
needCertValidation
public boolean needCertValidation
-
handshakeComplete
public boolean handshakeComplete
-
handler
public CertAuthHandler handler
-
-
Method Detail
-
SetClientCert
public void SetClientCert(X509Certificate cert) throws java.lang.IllegalArgumentException
- Throws:
java.lang.IllegalArgumentException
-
releaseNativeResources
protected void releaseNativeResources() throws java.lang.Exception
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:
java.lang.Exception
-
invokeCertAuthHandler
public int invokeCertAuthHandler()
-
-