public class X509Helper extends Object
| Constructor and Description |
|---|
X509Helper() |
| Modifier and Type | Method and Description |
|---|---|
static KeyStore |
keyStoreFromPEM(String proxyFile,
String keyPassPhrase) |
static KeyStore |
keyStoreFromPEM(String certFile,
String keyFile,
String keyPassPhrase) |
static KeyStore |
trustKeyStoreFromCertDir() |
static KeyStore |
trustKeyStoreFromCertDir(String certDir) |
public static KeyStore keyStoreFromPEM(String proxyFile, String keyPassPhrase) throws IOException, CertificateException, NoSuchAlgorithmException, InvalidKeySpecException, KeyStoreException
public static KeyStore keyStoreFromPEM(String certFile, String keyFile, String keyPassPhrase) throws IOException, CertificateException, NoSuchAlgorithmException, InvalidKeySpecException, KeyStoreException
public static KeyStore trustKeyStoreFromCertDir() throws IOException, KeyStoreException, CertificateException, NoSuchAlgorithmException, org.apache.airavata.common.exception.ApplicationSettingsException
IOExceptionKeyStoreExceptionCertificateExceptionNoSuchAlgorithmExceptionorg.apache.airavata.common.exception.ApplicationSettingsExceptionpublic static KeyStore trustKeyStoreFromCertDir(String certDir) throws IOException, KeyStoreException, CertificateException, NoSuchAlgorithmException
Copyright © 2011–2014 The Apache Software Foundation. All rights reserved.