/[classpath]/inetlib/source/gnu/inet/util/EmptyX509TrustManager.java
ViewVC logotype

Diff of /inetlib/source/gnu/inet/util/EmptyX509TrustManager.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.2 by dog, Thu Oct 21 15:21:55 2004 UTC revision 1.3 by dog, Thu Nov 25 22:15:05 2004 UTC
# Line 1  Line 1 
1  /*  /*
2   * $Id$   * EmptyX509TrustManager.java
3   * Copyright (C) 2004 The Free Software Foundation   * Copyright (C) 2004 The Free Software Foundation
4   *   *
5   * This file is part of GNU inetlib, a library.   * This file is part of GNU inetlib, a library.
# Line 49  import javax.net.ssl.X509TrustManager; Line 49  import javax.net.ssl.X509TrustManager;
49   * @author <a href='mailto:dog@gnu.org'>Chris Burdess</a>   * @author <a href='mailto:dog@gnu.org'>Chris Burdess</a>
50   */   */
51  public class EmptyX509TrustManager  public class EmptyX509TrustManager
52  implements X509TrustManager    implements X509TrustManager
53  {  {
54    
55    public void checkClientTrusted (X509Certificate[] chain, String authType)    public void checkClientTrusted(X509Certificate[] chain, String authType)
56      throws CertificateException      throws CertificateException
57      {    {
58      }    }
59    
60    public void checkServerTrusted (X509Certificate[] chain, String authType)    public void checkServerTrusted(X509Certificate[] chain, String authType)
61      throws CertificateException      throws CertificateException
62      {    {
63      }    }
64    
65    public X509Certificate[] getAcceptedIssuers ()    public X509Certificate[] getAcceptedIssuers()
66      {    {
67        return new X509Certificate[0];      return new X509Certificate[0];
68      }    }
69        
70  }  }
71    

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26