diff options
Diffstat (limited to 'java/ssl/jdk1.4/IceSSL/X509TrustManagerI.java')
-rw-r--r-- | java/ssl/jdk1.4/IceSSL/X509TrustManagerI.java | 50 |
1 files changed, 0 insertions, 50 deletions
diff --git a/java/ssl/jdk1.4/IceSSL/X509TrustManagerI.java b/java/ssl/jdk1.4/IceSSL/X509TrustManagerI.java deleted file mode 100644 index 325287daec1..00000000000 --- a/java/ssl/jdk1.4/IceSSL/X509TrustManagerI.java +++ /dev/null @@ -1,50 +0,0 @@ -// ********************************************************************** -// -// Copyright (c) 2003-2007 ZeroC, Inc. All rights reserved. -// -// This copy of Ice is licensed to you under the terms described in the -// ICE_LICENSE file included in this distribution. -// -// ********************************************************************** - -package IceSSL; - -final class X509TrustManagerI implements javax.net.ssl.X509TrustManager -{ - X509TrustManagerI(javax.net.ssl.X509TrustManager delegate) - { - _delegate = delegate; - } - - public void - checkClientTrusted(java.security.cert.X509Certificate[] chain, String authType) - throws java.security.cert.CertificateException - { - if(!authType.equals("DH_anon") && _delegate != null) - { - _delegate.checkClientTrusted(chain, authType); - } - } - - public void - checkServerTrusted(java.security.cert.X509Certificate[] chain, String authType) - throws java.security.cert.CertificateException - { - if(!authType.equals("DH_anon") && _delegate != null) - { - _delegate.checkServerTrusted(chain, authType); - } - } - - public java.security.cert.X509Certificate[] - getAcceptedIssuers() - { - if(_delegate != null) - { - return _delegate.getAcceptedIssuers(); - } - return null; - } - - private javax.net.ssl.X509TrustManager _delegate; -} |