KeyStoreComponent¶
-
abstract class
KeyStoreComponent
extends Component¶ KeyStoreComponent is a module component which embeds a key store.
Author: Hugo Y. K. Lam
Fields¶
Constructors¶
Methods¶
init¶
-
protected void
init
()¶ Initializes this key store component.
Component parameters:
- keystore-location: the key store location
- keystore-password: the key store password
- key-alias: the alias name
- key-password: the key password
- keystore-type: the key store type.
- keystore-provider: the key store provider
Throws: - KeyStoreManagementException – if unable to initialize the key store component.
See also:
.init(String,String,String,String,String,Object)
,hk.hku.cecid.piazza.commons.module.Component.init()
init¶
-
protected void
init
(KeyStore keyStore, String alias, String keyPass)¶ Initializes this key store component.
Parameters: - keyStore –
- alias – the alias name.
- keyPass – the key password.
Throws: - KeyStoreManagementException – if unable to initialize the key store component.
init¶
-
protected void
init
(String location, String storePass, String alias, String keyPass, String storeType, Object provider)¶ Initializes this key store component.
Parameters: - location – the key store location.
- storePass – the key store password.
- alias – the alias name.
- keyPass – the key password.
- storeType – the key store type.
- provider – the key store provider.
Throws: - KeyStoreManagementException – if unable to initialize the key store component.