public interface Extender extends Closeable
ExtenderBuilder class.| Modifier and Type | Method and Description |
|---|---|
Future<KSISignature> |
asyncExtend(KSISignature signature)
Extends the signature asynchronously to the closest publication in publications file.
|
Future<KSISignature> |
asyncExtend(KSISignature signature,
PublicationRecord publicationRecord)
Extends the signature asynchronously to the specified publication record.
|
KSISignature |
extend(KSISignature signature)
Extends the signature to the closest publication in publications file.
|
KSISignature |
extend(KSISignature signature,
PublicationRecord publicationRecord)
Extends the signature to specified publication record.
|
ExtenderConfiguration |
getExtenderConfiguration()
Deprecated.
Deprecated since 4.10. Use
KSIExtendingService.getExtendingConfiguration()
in pair with KSIExtendingService.registerExtenderConfigurationListener(ConfigurationListener) instead.
To acquire the KSIExtendingService which a KSI instance uses, call
getExtendingService(). |
KSIExtendingService |
getExtendingService()
Gets the extender service that the SDK was initialized with.
|
KSISignature extend(KSISignature signature) throws KSIException
signature - KSISignature to be extended, not null.KSISignature).KSIException - when error occurs (e.g. when communication with KSI service fails).KSISignature extend(KSISignature signature, PublicationRecord publicationRecord) throws KSIException
signature - KSISignature to be extended, not null.publicationRecord - publication record (PublicationRecord) to extend to, not null.KSIException - when error occurs (e.g. when communication with KSI service fails).Future<KSISignature> asyncExtend(KSISignature signature) throws KSIException
Future.getResult() to get the extended KSI signature.signature - KSISignature to be extended, not null.Future.KSIException - when error occurs (e.g. when communication with KSI service fails).Future<KSISignature> asyncExtend(KSISignature signature, PublicationRecord publicationRecord) throws KSIException
Future.getResult() to get the extended KSI signature.signature - KSISignature to be extended, not null.publicationRecord - publication record (PublicationRecord) to extend the signature to.Future.KSIException - when error occurs (e.g. when communication with KSI service fails).KSIExtendingService getExtendingService()
@Deprecated ExtenderConfiguration getExtenderConfiguration() throws KSIException
KSIExtendingService.getExtendingConfiguration()
in pair with KSIExtendingService.registerExtenderConfigurationListener(ConfigurationListener) instead.
To acquire the KSIExtendingService which a KSI instance uses, call
getExtendingService().PduVersion.V2 is used.UnsupportedOperationException - if KSI is initialized with a service not a client.KSIExceptionCopyright © 2024 Guardtime. All rights reserved.