diff options
author | Benoit Foucher <benoit@zeroc.com> | 2007-09-04 14:24:25 +0200 |
---|---|---|
committer | Benoit Foucher <benoit@zeroc.com> | 2007-09-04 14:24:25 +0200 |
commit | a95c413fc360075c18ce907be5a2e02adaad3af8 (patch) | |
tree | a09602e20f0a0f814291cb0e491d07e615f2bc97 /java/ssl/jdk1.4/IceSSL/X509TrustManagerI.java | |
parent | -Updating the makedist.py scripts for the various language mappings to suppor... (diff) | |
download | ice-a95c413fc360075c18ce907be5a2e02adaad3af8.tar.bz2 ice-a95c413fc360075c18ce907be5a2e02adaad3af8.tar.xz ice-a95c413fc360075c18ce907be5a2e02adaad3af8.zip |
Added support for Java monotonic clock
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; -} |