Class SSLFDProxy

  • All Implemented Interfaces:
    java.lang.AutoCloseable

    public class SSLFDProxy
    extends PRFDProxy
    • Field Detail

      • clientCert

        public PK11Cert clientCert
      • 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
    • Constructor Detail

      • SSLFDProxy

        public SSLFDProxy​(byte[] pointer)
    • 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 class PRFDProxy
        Throws:
        java.lang.Exception
      • invokeCertAuthHandler

        public int invokeCertAuthHandler()