Package | Description |
---|---|
com.guardtime.ksi.pdu |
PDU (Protocol Data Unit) interfaces
|
com.guardtime.ksi.pdu.v2 |
PDU v2 implementation
|
com.guardtime.ksi.publication |
Interfaces to decode and encode publications files
|
com.guardtime.ksi.publication.inmemory |
Implementation to decode and encode in-memory publications files
|
com.guardtime.ksi.service.client |
Classes and interfaces to sign and extend, basic version
|
com.guardtime.ksi.service.client.http |
Common classes for KSI Apache HTTP client and KSI Simple HTTP client
|
com.guardtime.ksi.service.client.http.apache |
Apache HTTP client for KSI
|
com.guardtime.ksi.service.http.simple |
Simple HTTP client for KSI
|
com.guardtime.ksi.service.tcp |
KSI TCP client
|
com.guardtime.ksi.tlv |
Classes and interfaces to decode and encode TLV elements
|
com.guardtime.ksi.unisignature |
Interfaces to decode and encode KSI signatures
|
com.guardtime.ksi.unisignature.inmemory |
Classes to decode and encode in-memory KSI signatures
|
Modifier and Type | Method and Description |
---|---|
TLVElement |
ExtensionResponse.getCalendarHashChain() |
TLVElement |
AggregationResponse.getPayload() |
Modifier and Type | Method and Description |
---|---|
AggregationResponse |
AggregatorPduFactory.readAggregationResponse(KSIRequestContext context,
ServiceCredentials credentials,
TLVElement input)
Reads an aggregation response.
|
AggregatorConfiguration |
AggregatorPduFactory.readAggregatorConfigurationResponse(KSIRequestContext context,
ServiceCredentials credentials,
TLVElement input)
Reads an aggregation configuration response.
|
ExtenderConfiguration |
ExtenderPduFactory.readExtenderConfigurationResponse(ServiceCredentials credentials,
TLVElement input)
Reads an extension configuration response.
|
ExtensionResponse |
ExtenderPduFactory.readExtensionResponse(KSIRequestContext context,
ServiceCredentials credentials,
TLVElement input)
Reads an extension response.
|
Constructor and Description |
---|
PduMessageHeader(TLVElement rootElement)
Creates new message header object from base TLV element.
|
Constructor and Description |
---|
AggregationResponseFuture(Future<TLVElement> requestFuture,
KSIRequestContext requestContext,
ServiceCredentials credentials,
PduFactory pduFactory) |
ExtensionResponseFuture(Future<TLVElement> future,
KSIRequestContext context,
ServiceCredentials credentials,
PduFactory pduFactory) |
Constructor and Description |
---|
AggregatorConfigurationPayload(TLVElement element) |
ExtenderConfigurationPayload(TLVElement element) |
Constructor and Description |
---|
PublicationData(TLVElement rootElement)
Creates a new publication data from TLV element.
|
Constructor and Description |
---|
PublicationsFilePublicationRecord(TLVElement rootElement)
Reads publication record from TLV element.
|
Modifier and Type | Method and Description |
---|---|
Future<TLVElement> |
KSIExtenderClient.extend(InputStream request)
Extends the existing signatures.
|
Future<TLVElement> |
KSISigningClient.sign(InputStream request)
Creates new KSI signature.
|
Modifier and Type | Method and Description |
---|---|
protected TLVElement |
HttpPostRequestFuture.parse(int statusCode,
String responseMessage,
InputStream response)
Validates HTTP response message.
|
Modifier and Type | Method and Description |
---|---|
TLVElement |
ApacheHttpPostRequestFuture.getResult() |
Modifier and Type | Method and Description |
---|---|
TLVElement |
SimpleHttpPostRequestFuture.getResult() |
Modifier and Type | Method and Description |
---|---|
Future<TLVElement> |
ExtenderTCPClient.extend(InputStream request) |
Future<TLVElement> |
TCPClient.extend(InputStream request) |
Future<TLVElement> |
SigningTCPClient.sign(InputStream request) |
Future<TLVElement> |
TCPClient.sign(InputStream request) |
Modifier and Type | Field and Description |
---|---|
protected TLVElement |
TLVStructure.rootElement |
Modifier and Type | Method and Description |
---|---|
static TLVElement |
TLVElement.create(byte[] bytes)
Creates TLVElement form byte array.
|
static TLVElement |
TLVElement.create(int type,
byte[] value)
Creates TLV element with byte array content.
|
static TLVElement |
TLVElement.create(int type,
DataHash value)
Creates TLV element with
DataHash content. |
static TLVElement |
TLVElement.create(int type,
Date value)
Creates TLV element with
Date content. |
static TLVElement |
TLVElement.create(int type,
HashAlgorithm value)
Creates TLV element with
HashAlgorithm content. |
static TLVElement |
TLVElement.create(int type,
long value)
Creates TLV element with
Long content. |
static TLVElement |
TLVElement.create(int type,
String value)
Creates TLV element with
String content. |
TLVElement |
TLVElement.getFirstChildElement() |
TLVElement |
TLVElement.getFirstChildElement(int tag)
Returns the first child element with specified tag.
|
TLVElement |
TLVElement.getLastChildElement() |
TLVElement |
TLVStructure.getRootElement() |
TLVElement |
TLVInputStream.readElement()
Reads the next TLV element from the stream.
|
protected TLVElement |
TLVStructure.readOnce(TLVElement element) |
Modifier and Type | Method and Description |
---|---|
List<TLVElement> |
TLVElement.getChildElements() |
List<TLVElement> |
TLVElement.getChildElements(int... tags) |
List<TLVElement> |
TLVElement.getChildElements(int tag)
Returns all the tags with the specified tag.
|
Modifier and Type | Method and Description |
---|---|
void |
TLVElement.addChildElement(TLVElement element) |
void |
TLVElement.addFirstChildElement(TLVElement element) |
protected TLVElement |
TLVStructure.readOnce(TLVElement element) |
void |
TLVElement.remove(TLVElement elementToRemoved) |
void |
TLVElement.replace(TLVElement childToBeReplaced,
TLVElement newChild)
Replaces first element with given one.
|
protected void |
TLVStructure.verifyCriticalFlag(TLVElement element)
Checks if the TLV element is critical or not.
|
Constructor and Description |
---|
TLVStructure(TLVElement rootElement)
Constructor for decoding TLV element.
|
Modifier and Type | Method and Description |
---|---|
AggregationHashChain |
KSISignatureComponentFactory.createAggregationHashChain(TLVElement element)
Creates an aggregation hash chain from input TLV element.
|
CalendarAuthenticationRecord |
KSISignatureComponentFactory.createCalendarAuthenticationRecord(TLVElement element)
Creates calendar authentication record from input TLV element.
|
CalendarHashChain |
KSISignatureComponentFactory.createCalendarHashChain(TLVElement element)
Creates calendar hash chain from input TLV element.
|
SignaturePublicationRecord |
KSISignatureComponentFactory.createPublicationRecord(TLVElement element)
Creates signature publication record element from input TLV element.
|
RFC3161Record |
KSISignatureComponentFactory.createRFC3161Record(TLVElement element)
Creates RFC3161 record element from input TLV element.
|
KSISignature |
KSISignatureFactory.createSignature(TLVElement element,
DataHash originalInputHash)
Creates a signature from input TLV element.
|
KSISignature |
KSISignatureFactory.createSignature(TLVElement element,
DataHash originalInputHash,
long level)
Creates a signature from input TLV element.
|
Modifier and Type | Method and Description |
---|---|
AggregationHashChain |
InMemoryKsiSignatureComponentFactory.createAggregationHashChain(TLVElement element) |
CalendarAuthenticationRecord |
InMemoryKsiSignatureComponentFactory.createCalendarAuthenticationRecord(TLVElement element) |
CalendarHashChain |
InMemoryKsiSignatureComponentFactory.createCalendarHashChain(TLVElement element) |
SignaturePublicationRecord |
InMemoryKsiSignatureComponentFactory.createPublicationRecord(TLVElement element) |
RFC3161Record |
InMemoryKsiSignatureComponentFactory.createRFC3161Record(TLVElement element) |
KSISignature |
InMemoryKsiSignatureFactory.createSignature(TLVElement element,
DataHash inputHash) |
KSISignature |
InMemoryKsiSignatureFactory.createSignature(TLVElement element,
DataHash inputHash,
long level) |
Constructor and Description |
---|
InMemorySignaturePublicationRecord(TLVElement rootElement) |
Copyright © 2024 Guardtime. All rights reserved.