ValidatorAggregatedSignature
Namespace: IotaSdk
An aggregated signature from multiple Validators.
BCS
The BCS serialized form of this type is specified in
bcs-schema.abnf.
The bitmap bytes follow the RoaringBitmap serialized format.
public class ValidatorAggregatedSignature : IValidatorAggregatedSignature, System.IDisposable
Inheritance Object → ValidatorAggregatedSignature
Implements IValidatorAggregatedSignature, IDisposable
Attributes NullableContextAttribute, NullableAttribute
Constructors
ValidatorAggregatedSignature(UInt64)
public ValidatorAggregatedSignature(ulong pointer)
Parameters
pointer UInt64
Methods
Destroy()
public void Destroy()
Dispose()
public void Dispose()
BitmapBytes()
public Byte[] BitmapBytes()
Returns
Epoch()
public ulong Epoch()
Returns
Signature()
public Bls12381Signature Signature()
Returns
ToBcs()
Convert this type to BCS encoded bytes.
public Byte[] ToBcs()
Returns
Exceptions
ToDisplayString()
Render this type as human-readable text.
Some types also print this through the binding's native string conversion; this method is the spelling every object type has.
The layout is meant for reading and can change between releases. Use the JSON or BCS conversions for output that gets parsed.
public string ToDisplayString()
Returns
ToJson()
Convert this type to a JSON encoded string.
public string ToJson()
Returns
Exceptions
FromBcs(Byte[])
Create this type from BCS encoded bytes.
public static ValidatorAggregatedSignature FromBcs(Byte[] bcs)
Parameters
bcs Byte[]
Returns
Exceptions
FromJson(String)
Create this type from a JSON encoded string.
public static ValidatorAggregatedSignature FromJson(string json)
Parameters
json String
Returns
Exceptions
FromSignerBitmap(UInt64, Bls12381Signature, Byte[])
public static ValidatorAggregatedSignature FromSignerBitmap(ulong epoch, Bls12381Signature signature, Byte[] bitmapBytes)
Parameters
epoch UInt64
signature Bls12381Signature
bitmapBytes Byte[]