public class SimpleHttpSigningClient extends Object implements KSISigningClient
| Constructor and Description |
|---|
SimpleHttpSigningClient(CredentialsAwareHttpSettings settings) |
| 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.
|
SimpleHttpPostRequestFuture |
sign(InputStream request)
Creates new KSI signature.
|
public SimpleHttpSigningClient(CredentialsAwareHttpSettings settings)
public SimpleHttpPostRequestFuture sign(InputStream request) throws KSIClientException
KSISigningClientsign in interface KSISigningClientrequest - instance of InputStream that contains request.Future containing KSI response.KSIClientExceptionKSISigningClientpublic void close()
public ServiceCredentials getServiceCredentials()
public PduVersion getPduVersion()
Copyright © 2024 Guardtime. All rights reserved.