Click or drag to resize

IKsiSignatureFactoryCreateSignatureWithAggregationChain Method

Create KSI signature instance from given signature by adding a new aggregation hash chain as the lowest level chain.

Namespace:  Guardtime.KSI.Signature
Assembly:  ksi-net-api (in ksi-net-api.dll) Version: 3.11.534.0 (3.11.534.0)
Syntax
IKsiSignature CreateSignatureWithAggregationChain(
	IKsiSignature signature,
	DataHash inputHash,
	HashAlgorithm aggregationAlgorithm,
	AggregationHashChainLink[] chainLinks
)

Parameters

signature
Type: Guardtime.KSI.SignatureIKsiSignature
Base KSI signature
inputHash
Type: Guardtime.KSI.HashingDataHash
Input hash of the aggregation chain to be added.
aggregationAlgorithm
Type: Guardtime.KSI.HashingHashAlgorithm
Aggregation algorithm of the aggregation chain to be added.
chainLinks
Type: Guardtime.KSI.SignatureAggregationHashChainLink
Hash chain links of the aggregation chain to be added.

Return Value

Type: IKsiSignature
See Also