KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > javax > net > ssl > SSLPeerUnverifiedException


1 /*
2  * @(#)SSLPeerUnverifiedException.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 /**
19  * Indicates that the peer's identity has not been verified.
20  * <P>
21  * When the peer was not able to
22  * identify itself (for example; no certificate, the particular
23  * cipher suite being used does not support authentication, or no
24  * peer authentication was established during SSL handshaking) this
25  * exception is thrown.
26  *
27  * @since 1.4
28  * @version 1.15
29  * @author David Brownell
30  */

31 public class SSLPeerUnverifiedException extends SSLException
32 {
33
34     /**
35      * Constructs an exception reporting that the SSL peer's
36      * identity has not been verifiied.
37      *
38      * @param reason describes the problem.
39      */

40     public SSLPeerUnverifiedException(String reason) { }
41 }
42
Popular Tags