public interface IKeyStoreType extends com.helger.commons.id.IHasID<String>, Serializable
| Modifier and Type | Method and Description |
|---|---|
default KeyStore |
getKeyStore() |
default KeyStore |
getKeyStore(Provider aProvider) |
default KeyStore |
getKeyStore(String sProvider) |
@Nonnull default KeyStore getKeyStore() throws KeyStoreException
null.KeyStoreException - if no Provider supports a KeyStoreSpi implementation for the
specified type.@Nonnull default KeyStore getKeyStore(@Nonnull @Nonempty String sProvider) throws KeyStoreException, NoSuchProviderException
sProvider - Security provider to be used. E.g. for BouncyCastle. May neither be
null nor empty.null.KeyStoreException - if no Provider supports a KeyStoreSpi implementation for the
specified type.NoSuchProviderException - if the specified provider is not registered in the security
provider list.@Nonnull default KeyStore getKeyStore(@Nonnull Provider aProvider) throws KeyStoreException
aProvider - Security provider to be used. E.g. for BouncyCastle. May not be
null.null.KeyStoreException - if no Provider supports a KeyStoreSpi implementation for the
specified type.Copyright © 2016–2019 Philip Helger. All rights reserved.