com.github.dockerjava.core
Class CertificateUtils

java.lang.Object
  extended by com.github.dockerjava.core.CertificateUtils

public class CertificateUtils
extends Object


Constructor Summary
CertificateUtils()
           
 
Method Summary
static KeyStore createKeyStore(String dockerCertPath)
           
static KeyStore createTrustStore(String dockerCertPath)
           
static boolean verifyCertificatesExist(String dockerCertPath)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CertificateUtils

public CertificateUtils()
Method Detail

verifyCertificatesExist

public static boolean verifyCertificatesExist(String dockerCertPath)

createKeyStore

public static KeyStore createKeyStore(String dockerCertPath)
                               throws NoSuchAlgorithmException,
                                      InvalidKeySpecException,
                                      IOException,
                                      CertificateException,
                                      KeyStoreException
Throws:
NoSuchAlgorithmException
InvalidKeySpecException
IOException
CertificateException
KeyStoreException

createTrustStore

public static KeyStore createTrustStore(String dockerCertPath)
                                 throws IOException,
                                        CertificateException,
                                        KeyStoreException,
                                        NoSuchAlgorithmException
Throws:
IOException
CertificateException
KeyStoreException
NoSuchAlgorithmException


Copyright © 2014. All rights reserved.