public class KeyStoreFactory extends Object
KeyStoreFactory holds methods for creating KeyStore objects.| Constructor and Description |
|---|
KeyStoreFactory() |
| Modifier and Type | Method and Description |
|---|---|
static KeyStore |
newKeyStore(String type,
String password,
File keystoreFile)
Factory method for load the
KeyStore object from the given file. |
public static KeyStore newKeyStore(String type, String password, File keystoreFile) throws NoSuchAlgorithmException, CertificateException, FileNotFoundException, IOException, KeyStoreException
KeyStore object from the given file.type - the type of the keystorepassword - the password of the keystorekeystoreFile - the keystore fileKeyStore objectNoSuchAlgorithmException - the no such algorithm exceptionCertificateException - the certificate exceptionFileNotFoundException - the file not found exceptionIOException - Signals that an I/O exception has occurred.KeyStoreException - the key store exceptionCopyright © 2015–2017 Alpha Ro Group UG (haftungsbeschrÀngt). All rights reserved.