Class JSSEngineReferenceImpl

java.lang.Object
javax.net.ssl.SSLEngine
org.mozilla.jss.ssl.javax.JSSEngine
org.mozilla.jss.ssl.javax.JSSEngineReferenceImpl

public class JSSEngineReferenceImpl extends JSSEngine
The reference JSSEngine implementation. This JSSEngine implementation is a reference for future JSSEngine implementations, providing a pure-Java overview of what should happen at each step of the init, wrap, and unwrap calls. This implementation allows for extended debug logging, but also debug packet logging. The latter writes out packets sent via wrap(...) and received from unwrap(...) to a port on localhost. This allows one to easily attach Wireshark or tcpdump and inspect the TLS packets, even if errors occur during the test suite (where packets aren't sent over the wire by default). This maintains the client/server relationship, and are logged as being from the appropriate side of the TLS connection.
  • Constructor Details

    • JSSEngineReferenceImpl

      public JSSEngineReferenceImpl()
    • JSSEngineReferenceImpl

      public JSSEngineReferenceImpl(String peerHost, int peerPort)
    • JSSEngineReferenceImpl

      public JSSEngineReferenceImpl(String peerHost, int peerPort, X509Certificate localCert, PrivateKey localKey)
  • Method Details