public Class<? extends KeyManagersParameters> getObjectType() {
return KeyManagersParameters.class;
}
protected KeyManagersParameters createInstance() throws Exception {
KeyManagersParameters newInstance = new KeyManagersParameters();
newInstance.setAlgorithm(algorithm);
newInstance.setKeyPassword(keyPassword);
if (getKeyStore() != null) {
getKeyStore().setCamelContext(getCamelContext());
newInstance.setKeyStore(getKeyStore().getObject());
}
newInstance.setProvider(provider);
newInstance.setCamelContext(getCamelContext());
return newInstance;
}