You are currently viewing a snapshot of www.mozilla.org taken on April 21, 2008. Most of this content is highly out of date (some pages haven't been updated since the project began in 1998) and exists for historical purposes only. If there are any pages on this archive site that you think should be added back to www.mozilla.org, please file a bug.




Package org.mozilla.jss.ssl

SSL sockets.

See:
          Description

Interface Summary
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.
 

Class Summary
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 enumeration
SSLClient 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.
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.
SSLSocket.CipherPolicy  
SSLTest  
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 client
TestClientCertificateSelectionCallback 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.
 

Exception Summary
SSLSocketException A subclass of java.net.SocketException that contains an error code from the native (NSS/NSPR) code.
 

Package org.mozilla.jss.ssl Description

SSL sockets.