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
KSISigningClient
sign
in interface KSISigningClient
request
- instance of InputStream
that contains request.Future
containing KSI response.KSIClientException
KSISigningClient.sign(InputStream)
public void close() throws IOException
IOException
Closeable.close()
Copyright © 2024 Guardtime. All rights reserved.