public class SigningTCPClient extends Object implements KSISigningClient
| Constructor and Description |
|---|
SigningTCPClient(TCPClientSettings tcpClientSettings) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
PduVersion |
getPduVersion()
Gets the PDU format version of the client.
|
ServiceCredentials |
getServiceCredentials()
Gets the service credentials used by this client.
|
Future<TLVElement> |
sign(InputStream request)
Creates new KSI signature.
|
String |
toString() |
public SigningTCPClient(TCPClientSettings tcpClientSettings)
tcpClientSettings - settings for connecting to aggregatorpublic ServiceCredentials getServiceCredentials()
KSICredentialsAwareClient.getServiceCredentials()public PduVersion getPduVersion()
KSICredentialsAwareClient.getPduVersion()public Future<TLVElement> sign(InputStream request) throws KSIClientException
KSISigningClientsign in interface KSISigningClientrequest - instance of InputStream that contains request.Future containing KSI response.KSIClientExceptionKSISigningClient.sign(InputStream)public void close()
throws IOException
IOExceptionCloseable.close()Copyright © 2024 Guardtime. All rights reserved.