org.n52.security.common.crypto
Class KeyPairX509TrustManager
java.lang.Object
org.n52.security.common.crypto.KeyPairX509TrustManager
- All Implemented Interfaces:
- TrustManager, X509TrustManager
public class KeyPairX509TrustManager
- extends Object
- implements X509TrustManager
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
KeyPairX509TrustManager
public KeyPairX509TrustManager(KeyPair keypair)
checkClientTrusted
public void checkClientTrusted(X509Certificate[] chain,
String authType)
throws CertificateException
- Specified by:
checkClientTrusted
in interface X509TrustManager
- Throws:
CertificateException
checkServerTrusted
public void checkServerTrusted(X509Certificate[] chain,
String authType)
throws CertificateException
- Specified by:
checkServerTrusted
in interface X509TrustManager
- Throws:
CertificateException
getAcceptedIssuers
public X509Certificate[] getAcceptedIssuers()
- Specified by:
getAcceptedIssuers
in interface X509TrustManager
Copyright © 2004–2013 52north.org. All rights reserved.