Package | Description |
---|---|
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.tlv |
Classes and interfaces to decode and encode TLV elements
|
com.guardtime.ksi.unisignature.inmemory |
Classes to decode and encode in-memory KSI signatures
|
Constructor and Description |
---|
AggregatorConfigurationPayload(TLVElement element) |
ExtenderConfigurationPayload(TLVElement element) |
Modifier and Type | Class and Description |
---|---|
class |
InvalidPublicationDataException
This exception will be thrown if publication data is invalid.
|
Modifier and Type | Method and Description |
---|---|
byte[] |
PublicationData.getEncoded() |
Modifier and Type | Class and Description |
---|---|
class |
InvalidPublicationRecordException |
class |
InvalidPublicationsFileException
This exception will be thrown if publications file is invalid.
|
Constructor and Description |
---|
PublicationsFilePublicationRecord(PublicationData publicationData) |
PublicationsFilePublicationRecord(PublicationData publicationData,
List<String> references,
List<String> uris) |
Modifier and Type | Class and Description |
---|---|
class |
InconsistentTlvElementException
Exception indicating that TLV element is inconsistent.
|
class |
MultipleTLVElementException |
Modifier and Type | Method and Description |
---|---|
void |
TLVElement.addChildElement(TLVElement element) |
void |
TLVElement.addFirstChildElement(TLVElement element) |
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. |
byte[] |
TLVElement.encodeHeader()
Encodes TLV header.
|
byte[] |
TLVElement.getContent()
Returns the TLV content.
|
DataHash |
TLVElement.getDecodedDataHash()
Converts TLV element content data to
DataHash object. |
Date |
TLVElement.getDecodedDate()
Gets the Date object from TLV element.
|
HashAlgorithm |
TLVElement.getDecodedHashAlgorithm()
Gets HashAlgorithm form TLV element.
|
Long |
TLVElement.getDecodedLong()
This method is used to convert TLV element content data to actual java
Long object. |
String |
TLVElement.getDecodedString()
Converts the TLV element content data to UTF-8 string.
|
byte[] |
TLVElement.getEncoded() |
TLVElement |
TLVInputStream.readElement()
Reads the next TLV element from the stream.
|
protected TLVElement |
TLVStructure.readOnce(TLVElement element) |
void |
TLVElement.setContent(byte[] content)
Sets the value to TLV element content.
|
void |
TLVElement.setDataHashContent(DataHash dataHash) |
void |
TLVElement.setDateContent(Date date) |
void |
TLVElement.setHashAlgorithmContent(HashAlgorithm hashAlgorithm) |
void |
TLVElement.setLongContent(long value) |
void |
TLVElement.setStringContent(String s)
Encodes the instance of
String . |
protected void |
TLVStructure.verifyCriticalFlag(TLVElement element)
Checks if the TLV element is critical or not.
|
void |
TLVElement.writeTo(OutputStream out)
Writes the encoded TLV element to the specified output stream.
|
Constructor and Description |
---|
TLVInputStream(InputStream stream)
Creates a TLVInputStream that uses the specified underlying InputStream.
|
TLVStructure(TLVElement rootElement)
Constructor for decoding TLV element.
|
Modifier and Type | Class and Description |
---|---|
class |
InvalidAggregationAuthenticationRecordException
This exception is for invalid aggregation hash chain elements.
|
class |
InvalidAggregationHashChainException
This exception is for invalid aggregation hash chain elements.
|
class |
InvalidCalendarAuthenticationRecordException
This exception is for invalid authentication record element.
|
class |
InvalidCalendarHashChainException
This exception is for invalid calendar hash chain.
|
class |
InvalidSignatureDataException
This is exception for invalid signature data inmemory element.
|
class |
InvalidSignatureException
This is the exception for invalid signature (invalid encoding, missing fields, etc).
|
class |
InvalidSignatureRFC3161RecordException
This is the exception for invalid RFC3161 records.
|
Constructor and Description |
---|
InMemorySignaturePublicationRecord(PublicationData publicationData,
List<String> references,
List<String> uris) |
Copyright © 2024 Guardtime. All rights reserved.