eu.emi.security.authn.x509.helpers
Class KeyStoreHelper
java.lang.Object
eu.emi.security.authn.x509.helpers.KeyStoreHelper
public class KeyStoreHelper
- extends Object
KeyStore
class utility helpers
- Author:
- K. Benedyczak
Method Summary |
static KeyStore |
getInstance(String type)
Creates an instance of KeyStore using our custom logic for choosing a provider:
BC for PKCS12 and default for others. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
KeyStoreHelper
public KeyStoreHelper()
getInstance
public static KeyStore getInstance(String type)
throws KeyStoreException
- Creates an instance of KeyStore using our custom logic for choosing a provider:
BC for PKCS12 and default for others.
- Parameters:
type
- keystore type, usually PKCS12 or JKS
- Returns:
- keystore object instance. It is not loaded/initialized.
- Throws:
KeyStoreException
- if there is no provider supporting keystore type
Copyright © 2012-2013 European Middleware Initiative. All Rights Reserved.