1 /* 2 * @(#)HandshakeCompletedListener.java 1.8 04/02/16 3 * 4 * Copyright (c) 2004 Sun Microsystems, Inc. All Rights Reserved. 5 * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. 6 */ 7 8 /* 9 * NOTE: 10 * Because of various external restrictions (i.e. US export 11 * regulations, etc.), the actual source code can not be provided 12 * at this time. This file represents the skeleton of the source 13 * file, so that javadocs of the API can be created. 14 */ 15 16 package javax.net.ssl; 17 18 import java.util.EventListener; 19 20 /** 21 * This interface is implemented by any class which wants to receive 22 * notifications about the completion of an SSL protocol handshake 23 * on a given SSL connection. 24 * 25 * <P> When an SSL handshake completes, new security parameters will 26 * have been established. Those parameters always include the security 27 * keys used to protect messages. They may also include parameters 28 * associated with a new <em>session</em> such as authenticated 29 * peer identity and a new SSL cipher suite. 30 * 31 * @since 1.4 32 * @version 1.8 33 * @author David Brownell 34 */ 35 public interface HandshakeCompletedListener extends EventListener 36 { 37 38 /** 39 * This method is invoked on registered objects 40 * when a SSL handshake is completed. 41 * 42 * @param event the event identifying when the SSL Handshake 43 * completed on a given SSL connection 44 */ 45 public void handshakeCompleted(HandshakeCompletedEvent event); 46 } 47