Click or drag to resize

BlockSigner Constructor (IKsiService, Boolean, Byte, HashAlgorithm, IKsiSignatureFactory, NullableUInt32)

Create new block signer instance

Namespace:  Guardtime.KSI.Service
Assembly:  ksi-net-api (in ksi-net-api.dll) Version: 3.11.534.0 (3.11.534.0)
Syntax
public BlockSigner(
	IKsiService ksiService,
	bool useBlindingMasks,
	byte[] randomSeed,
	HashAlgorithm hashAlgorithm = null,
	IKsiSignatureFactory signatureFactory = null,
	Nullable<uint> maxTreeHeight = null
)

Parameters

ksiService
Type: Guardtime.KSI.ServiceIKsiService
KSI service
useBlindingMasks
Type: SystemBoolean
If true then blinding masks are used when aggregating
randomSeed
Type: SystemByte
Random seed for for blinding masks
hashAlgorithm (Optional)
Type: Guardtime.KSI.HashingHashAlgorithm
Hash algorithm to be used when creating aggregation hash chains. If null then defult is used.
signatureFactory (Optional)
Type: Guardtime.KSI.SignatureIKsiSignatureFactory
KSI signature factory for creating uni-signatures.
maxTreeHeight (Optional)
Type: SystemNullableUInt32
Max allowed aggregation tree height
See Also