Constructor and Description |
---|
KeyStoreHelper() |
Modifier and Type | Method and Description |
---|---|
static KeyStore |
getInstance(String type)
Deprecated.
use other methods from this class.
|
static KeyStore |
getInstanceForCredential(String type)
Creates an instance of KeyStore which should be used for loading/storing credentials.
|
static KeyStore |
getInstanceForTrust(String type)
Creates an instance of KeyStore which should be used as a truststore,
using our custom logic for choosing a provider: BC for PKCS12 and default for others.
|
@Deprecated public static KeyStore getInstance(String type) throws KeyStoreException
type
- keystore type, usually PKCS12 or JKSKeyStoreException
- if there is no provider supporting keystore typepublic static KeyStore getInstanceForTrust(String type) throws KeyStoreException
type
- keystore type, usually PKCS12 or JKSKeyStoreException
- if there is no provider supporting keystore typepublic static KeyStore getInstanceForCredential(String type) throws KeyStoreException
type
- keystore type, usually PKCS12 or JKSKeyStoreException
- if there is no provider supporting keystore typeCopyright © 2012-2017 European Middleware Initiative. All Rights Reserved.