Package org.mozilla.jss.ssl
SSL sockets.
-
Interface Summary Interface Description SSLCertificateApprovalCallback This interface is what you should implement if you want to be able to decide whether or not you want to approve the peer's cert, instead of having NSS do that.SSLClientCertificateSelectionCallback Implement this if you want to specify dynamically which certificate should be presented for client authentication.SSLHandshakeCompletedListener This interface is used when you want to know that a security handshake is complete.SSLSocketListener -
Class Summary Class Description CipherPolicy SSLAlertEvent SSLCertificateApprovalCallback.ValidityItem SSLCertificateApprovalCallback.ValidityStatus This class holds details about the errors for each cert in the chain that the server presented To use this class, getReasons(), then iterate over the enumerationSSLClient Parameters supported by this socket test: filename file to be read from https server (default: /index.html) port port to connect to (default: 443) ipaddr address to connect to (overrides hostname, no default) hostname host to connect to (no default) clientauth do client-auth or not (default: no client-auth) The following parameters are used for regression testing, so we can print success or failure of the test.SSLHandshakeCompletedEvent This class represents the event telling you a handshake operation is complete.SSLProtocolVariant SSLSecurityStatus This class represents the known state of an SSL connection: what cipher is being used, how secure it is, and who's on the other end.SSLServer Parameters supported by this socket test: filename file to be read from https server (default: /index.html) port port to connect to (default: 443) clientauth do client-auth or not (default: no client-auth) The following parameters are used for regression testing, so we can print success or failure of the test.SSLServerSocket SSL server socket.SSLSocket SSL client socket.SSLTest SSLVersionRange TestCertApprovalCallback This is a test implementation of the certificate approval callback which gets invoked when the server presents a certificate which is not trusted by the clientTestClientCertificateSelectionCallback This interface is what you should implement if you want to be able to decide whether or not you want to approve the peer's cert, instead of having NSS do that. -
Enum Summary Enum Description SSLAlertDescription SSLAlertLevel SSLCipher SSL cipher.SSLVersion -
Exception Summary Exception Description SSLSocketException A subclass of java.net.SocketException that contains an error code from the native (NSS/NSPR) code.