|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecteu.emi.security.authn.x509.helpers.KeyStoreHelper
public class KeyStoreHelper
KeyStore
class utility helpers
Constructor Summary | |
---|---|
KeyStoreHelper()
|
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public KeyStoreHelper()
Method Detail |
---|
@Deprecated public static KeyStore getInstance(String type) throws KeyStoreException
type
- keystore type, usually PKCS12 or JKS
KeyStoreException
- if there is no provider supporting keystore typepublic static KeyStore getInstanceForTrust(String type) throws KeyStoreException
type
- keystore type, usually PKCS12 or JKS
KeyStoreException
- if there is no provider supporting keystore typepublic static KeyStore getInstanceForCredential(String type) throws KeyStoreException
type
- keystore type, usually PKCS12 or JKS
KeyStoreException
- if there is no provider supporting keystore type
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |