public interface KSISignatureComponentFactory
| Modifier and Type | Method and Description |
|---|---|
AggregationHashChain |
createAggregationHashChain(DataHash inputHash,
Date aggregationTime,
LinkedList<Long> indexes,
LinkedList<AggregationChainLink> links,
HashAlgorithm aggregationAlgorithm)
Creates a new aggregation hash chain
|
AggregationHashChain |
createAggregationHashChain(TLVElement element)
Creates an aggregation hash chain from input TLV element.
|
CalendarAuthenticationRecord |
createCalendarAuthenticationRecord(TLVElement element)
Creates calendar authentication record from input TLV element.
|
CalendarHashChain |
createCalendarHashChain(TLVElement element)
Creates calendar hash chain from input TLV element.
|
AggregationChainLink |
createLeftAggregationChainLink(AggregationChainLink link,
long levelCorrection)
Creates a new left aggregation hash chain link with corresponding data of given link and level.
|
AggregationChainLink |
createLeftAggregationChainLink(byte[] metadata,
long level)
Creates a new left aggregation hash chain link with given metadata bytes and level.
|
AggregationChainLink |
createLeftAggregationChainLink(DataHash siblingHash,
long level)
Creates a new left aggregation hash chain link with given sibling hash and level.
|
AggregationChainLink |
createLeftAggregationChainLink(LinkMetadata identity,
long level)
Creates a new left aggregation hash chain link with given metadata and level.
|
LinkMetadata |
createLinkMetadata(String clientId,
String machineId,
Long sequenceNumber,
Long requestTime)
Creates a link metadata structure.
|
SignaturePublicationRecord |
createPublicationRecord(PublicationData publicationData,
List<String> publicationReferences,
List<String> publicationRepositoryURIs)
Creates a signature publication record element from publication data, publication references and publication repository URI's
|
SignaturePublicationRecord |
createPublicationRecord(TLVElement element)
Creates signature publication record element from input TLV element.
|
RFC3161Record |
createRFC3161Record(TLVElement element)
Creates RFC3161 record element from input TLV element.
|
AggregationChainLink |
createRightAggregationChainLink(AggregationChainLink link,
long levelCorrection)
Creates a new right aggregation hash chain link with corresponding data of given link and level.
|
AggregationChainLink |
createRightAggregationChainLink(DataHash siblingHash,
long level)
Creates a new right aggregation hash chain link with given sibling hash and level.
|
AggregationChainLink |
createRightAggregationChainLink(LinkMetadata identity,
long level)
Creates a new right aggregation hash chain link with given metadata and level.
|
AggregationHashChain createAggregationHashChain(TLVElement element) throws KSIException
element - instance of TLVElement. not nullAggregationHashChainKSIExceptionAggregationHashChain createAggregationHashChain(DataHash inputHash, Date aggregationTime, LinkedList<Long> indexes, LinkedList<AggregationChainLink> links, HashAlgorithm aggregationAlgorithm) throws KSIException
KSIExceptionAggregationChainLink createLeftAggregationChainLink(DataHash siblingHash, long level) throws KSIException
KSIExceptionAggregationChainLink createLeftAggregationChainLink(AggregationChainLink link, long levelCorrection) throws KSIException
KSIExceptionAggregationChainLink createLeftAggregationChainLink(LinkMetadata identity, long level) throws KSIException
KSIExceptionAggregationChainLink createLeftAggregationChainLink(byte[] metadata, long level) throws KSIException
KSIExceptionAggregationChainLink createRightAggregationChainLink(DataHash siblingHash, long level) throws KSIException
KSIExceptionAggregationChainLink createRightAggregationChainLink(LinkMetadata identity, long level) throws KSIException
KSIExceptionAggregationChainLink createRightAggregationChainLink(AggregationChainLink link, long levelCorrection) throws KSIException
KSIExceptionCalendarAuthenticationRecord createCalendarAuthenticationRecord(TLVElement element) throws KSIException
element - instance of TLVElement. not nullCalendarAuthenticationRecordKSIException - when error occurs (e.g input data is invalid)CalendarHashChain createCalendarHashChain(TLVElement element) throws KSIException
element - instance of TLVElement. not nullCalendarHashChainKSIException - when error occurs (e.g input data is invalid)RFC3161Record createRFC3161Record(TLVElement element) throws KSIException
element - instance of TLVElement. not nullRFC3161RecordKSIException - when error occurs (e.g input data is invalid)SignaturePublicationRecord createPublicationRecord(TLVElement element) throws KSIException
element - instance of TLVElement. not nullSignaturePublicationRecordKSIException - when error occurs (e.g input data is invalid)SignaturePublicationRecord createPublicationRecord(PublicationData publicationData, List<String> publicationReferences, List<String> publicationRepositoryURIs) throws KSIException
KSIExceptionLinkMetadata createLinkMetadata(String clientId, String machineId, Long sequenceNumber, Long requestTime) throws KSIException
KSIExceptionCopyright © 2024 Guardtime. All rights reserved.