public interface KSISignature
Modifier and Type | Method and Description |
---|---|
Identity[] |
getAggregationHashChainIdentity()
Returns an array of the identities present in all aggregation hash chains.
|
AggregationHashChain[] |
getAggregationHashChains()
Returns aggregation hash chains.
|
Date |
getAggregationTime()
Returns the aggregation time.
|
CalendarAuthenticationRecord |
getCalendarAuthenticationRecord()
Returns the signature calendar authentication record if signature isn't extended.
|
CalendarHashChain |
getCalendarHashChain()
Returns the signature calendar hash chain.
|
DataHash |
getInputHash()
If RFC3161 compatibility record is present then RFC3161 input hash will be returned.
|
SignaturePublicationRecord |
getPublicationRecord()
Returns the instance of signature publication record if signature is extended.
|
Date |
getPublicationTime()
Returns the publication time.
|
RFC3161Record |
getRfc3161Record()
An older implementation of the KSI service used the formats and protocols specified in the X.509 time-stamping
standard (RFC 3161).
|
boolean |
isExtended()
Returns true if signature contains signature publication record element.
|
void |
writeTo(OutputStream output)
Writes
KSISignature to given output stream |
AggregationHashChain[] getAggregationHashChains()
CalendarHashChain getCalendarHashChain()
CalendarAuthenticationRecord getCalendarAuthenticationRecord()
SignaturePublicationRecord getPublicationRecord()
RFC3161Record getRfc3161Record()
DataHash getInputHash()
Date getAggregationTime()
Date getPublicationTime()
Identity[] getAggregationHashChainIdentity()
boolean isExtended()
void writeTo(OutputStream output) throws KSIException
KSISignature
to given output streamoutput
- instance of OutputStream
KSIException
- will be thrown when writing to stream failsCopyright © 2024 Guardtime. All rights reserved.