Skip to main content

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​

Byte[]

Epoch()​

public ulong Epoch()

Returns​

UInt64

Signature()​

public Bls12381Signature Signature()

Returns​

Bls12381Signature

ToBcs()​

Convert this type to BCS encoded bytes.

public Byte[] ToBcs()

Returns​

Byte[]

Exceptions​

SdkFfiException

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​

String

ToJson()​

Convert this type to a JSON encoded string.

public string ToJson()

Returns​

String

Exceptions​

SdkFfiException

FromBcs(Byte[])​

Create this type from BCS encoded bytes.

public static ValidatorAggregatedSignature FromBcs(Byte[] bcs)

Parameters​

bcs Byte[]

Returns​

ValidatorAggregatedSignature

Exceptions​

SdkFfiException

FromJson(String)​

Create this type from a JSON encoded string.

public static ValidatorAggregatedSignature FromJson(string json)

Parameters​

json String

Returns​

ValidatorAggregatedSignature

Exceptions​

SdkFfiException

FromSignerBitmap(UInt64, Bls12381Signature, Byte[])​

public static ValidatorAggregatedSignature FromSignerBitmap(ulong epoch, Bls12381Signature signature, Byte[] bitmapBytes)

Parameters​

epoch UInt64

signature Bls12381Signature

bitmapBytes Byte[]

Returns​

ValidatorAggregatedSignature

Exceptions​

SdkFfiException