Class SSLFDProxy

All Implemented Interfaces:
AutoCloseable

public class SSLFDProxy extends PRFDProxy
  • Field Details

    • clientCert

      public PK11Cert clientCert
    • globalRef

      public GlobalRefProxy globalRef
    • inboundAlerts

      public ArrayList<SSLAlertEvent> inboundAlerts
    • inboundOffset

      public int inboundOffset
    • outboundAlerts

      public ArrayList<SSLAlertEvent> outboundAlerts
    • outboundOffset

      public int outboundOffset
    • needCertValidation

      public boolean needCertValidation
    • needBadCertValidation

      public boolean needBadCertValidation
    • badCertError

      public int badCertError
    • handshakeComplete

      public boolean handshakeComplete
    • certAuthHandler

      public CertAuthHandler certAuthHandler
    • badCertHandler

      public BadCertHandler badCertHandler
  • Constructor Details

    • SSLFDProxy

      public SSLFDProxy(byte[] pointer)
  • Method Details

    • SetClientCert

      public void SetClientCert(X509Certificate cert) throws IllegalArgumentException
      Throws:
      IllegalArgumentException
    • releaseNativeResources

      protected void releaseNativeResources() throws 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:
      Exception
    • invokeCertAuthHandler

      public int invokeCertAuthHandler()
    • invokeBadCertHandler

      public int invokeBadCertHandler(int error)