Click or drag to resize

BlockSignerAdd Method

Add a data hash to be signed. Returns false if the hash cannot be added because tree would get higher than allowed.

Namespace:  Guardtime.KSI.Service
Assembly:  ksi-net-api (in ksi-net-api.dll) Version: 3.11.534.0 (3.11.534.0)
Syntax
public bool Add(
	DataHash dataHash,
	IdentityMetadata metadata = null,
	uint level = 0
)

Parameters

dataHash
Type: Guardtime.KSI.HashingDataHash
Data hash to be added
metadata (Optional)
Type: Guardtime.KSI.ServiceIdentityMetadata
Metadata to be added together with data hash
level (Optional)
Type: SystemUInt32
the level value of the aggregation tree node

Return Value

Type: Boolean
false if data hash cannot be added because tree would get higher than allowed, true otherwise.
See Also