Class DefaultSVNSSLTrustManager

  • All Implemented Interfaces:
    javax.net.ssl.TrustManager, javax.net.ssl.X509TrustManager

    public class DefaultSVNSSLTrustManager
    extends java.lang.Object
    implements javax.net.ssl.X509TrustManager
    Version:
    1.3
    Author:
    TMate Software Ltd.
    • Constructor Detail

      • DefaultSVNSSLTrustManager

        public DefaultSVNSSLTrustManager​(java.io.File authDir,
                                         SVNURL url,
                                         java.io.File[] serverCertFiles,
                                         boolean useKeyStore,
                                         DefaultSVNAuthenticationManager authManager)
    • Method Detail

      • getAcceptedIssuers

        public java.security.cert.X509Certificate[] getAcceptedIssuers()
        Specified by:
        getAcceptedIssuers in interface javax.net.ssl.X509TrustManager
      • checkClientTrusted

        public void checkClientTrusted​(java.security.cert.X509Certificate[] certs,
                                       java.lang.String arg1)
                                throws java.security.cert.CertificateException
        Specified by:
        checkClientTrusted in interface javax.net.ssl.X509TrustManager
        Throws:
        java.security.cert.CertificateException
      • checkServerTrusted

        public void checkServerTrusted​(java.security.cert.X509Certificate[] certs,
                                       java.lang.String algorithm)
                                throws java.security.cert.CertificateException
        Specified by:
        checkServerTrusted in interface javax.net.ssl.X509TrustManager
        Throws:
        java.security.cert.CertificateException
      • loadCertificate

        public static java.security.cert.X509Certificate loadCertificate​(java.io.File pemFile)