Create signature with given data hash (sync).
Sends the request to all the sub-services in parallel. First successful response is used. Request fails only if all the sub-services fail.
Namespace:
Guardtime.KSI.Service.HighAvailability
Assembly:
ksi-net-api (in ksi-net-api.dll) Version: 3.11.534.0 (3.11.534.0)
Syntaxpublic IKsiSignature Sign(
DataHash hash,
uint level = 0
)
Public Function Sign (
hash As DataHash,
Optional level As UInteger = 0
) As IKsiSignature
public:
virtual IKsiSignature^ Sign(
DataHash^ hash,
unsigned int level = 0
) sealed
abstract Sign :
hash : DataHash *
?level : uint32
(* Defaults:
let _level = defaultArg level 0
*)
-> IKsiSignature
override Sign :
hash : DataHash *
?level : uint32
(* Defaults:
let _level = defaultArg level 0
*)
-> IKsiSignature
Parameters
- hash
- Type: Guardtime.KSI.HashingDataHash
data hash - level (Optional)
- Type: SystemUInt32
the level value of the aggregation tree node
Return Value
Type:
IKsiSignatureKSI signature
Implements
IKsiServiceSign(DataHash, UInt32)
See Also