public interface KSIExtendingService extends Closeable
Modifier and Type | Method and Description |
---|---|
Future<ExtensionResponse> |
extend(Date aggregationTime,
Date publicationTime)
Extends existing signatures.
|
Future<ExtenderConfiguration> |
getExtendingConfiguration()
Makes the client ask for configuration update.
|
List<KSIExtendingService> |
getSubExtendingServices()
Gets the subclients in case of the implementation that combines multiple clients.
|
void |
registerExtenderConfigurationListener(ConfigurationListener<ExtenderConfiguration> listener)
Registers a new
ConfigurationListener <ExtenderConfiguration > for the client. |
Future<ExtensionResponse> extend(Date aggregationTime, Date publicationTime) throws KSIException
aggregationTime
- aggregation time of the existing signature.publicationTime
- publication time to which the existing signature is to be extended.ExtensionResponseFuture
containing calendar chains needed to extend the signature.KSIException
- in case any error occurs.List<KSIExtendingService> getSubExtendingServices()
void registerExtenderConfigurationListener(ConfigurationListener<ExtenderConfiguration> listener)
ConfigurationListener
<ExtenderConfiguration
> for the client. Each time client's configuration
is updated, this listener is called.listener
- an instance of ConfigurationListener
<ExtenderConfiguration
>.Future<ExtenderConfiguration> getExtendingConfiguration()
ConfigurationListener
s
are called.ExtenderConfiguration
.Copyright © 2024 Guardtime. All rights reserved.