com.ibm.etools.systems.dstore.core.util.ssl
Class DStoreKeyStore
java.lang.Object
com.ibm.etools.systems.dstore.core.util.ssl.DStoreKeyStore
- public class DStoreKeyStore
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
_instance
public static DStoreKeyStore _instance
DStoreKeyStore
public DStoreKeyStore()
getInstance
public static DStoreKeyStore getInstance()
getKeyStore
public static KeyStore getKeyStore(String filePath,
String password)
throws KeyStoreException,
NoSuchAlgorithmException,
CertificateException,
IOException,
NoSuchProviderException
- Throws:
KeyStoreException
NoSuchAlgorithmException
CertificateException
IOException
NoSuchProviderException
loadKeyStore
public static KeyStore loadKeyStore(String pathname,
String password)
throws KeyStoreException,
NoSuchAlgorithmException,
CertificateException,
IOException,
NoSuchProviderException
- Throws:
KeyStoreException
NoSuchAlgorithmException
CertificateException
IOException
NoSuchProviderException
loadCertificate
public static Certificate loadCertificate(String certFilename)
throws CertificateException,
FileNotFoundException
- Throws:
CertificateException
FileNotFoundException
addCertificateToKeyStore
public static void addCertificateToKeyStore(KeyStore ks,
Certificate cert,
String alias)
throws KeyStoreException
- Throws:
KeyStoreException
persistKeyStore
public static void persistKeyStore(KeyStore ks,
String pathname,
String password)
throws KeyStoreException,
FileNotFoundException,
NoSuchAlgorithmException,
CertificateException,
IOException
- Throws:
KeyStoreException
FileNotFoundException
NoSuchAlgorithmException
CertificateException
IOException
Copyright © 2005 IBM Corp. All Rights Reserved.
Note: This documentation is for part of an interim API that is still under development and expected to change significantly before reaching stability. It is being made available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.