Skip to main content

Bls12381Signature

Namespace: IotaSdk

A bls12381 min-sig signature.

BCS

The BCS serialized form for this type is defined by the following ABNF:

bls12381-signature = 48OCTET
public class Bls12381Signature : IBls12381Signature, System.IEquatable`1[[IotaSdk.Bls12381Signature, IotaSdk, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]], System.IDisposable

Inheritance ObjectBls12381Signature
Implements IBls12381Signature, IEquatable<Bls12381Signature>, IDisposable
Attributes NullableContextAttribute, NullableAttribute

Constructors

Bls12381Signature(UInt64)

public Bls12381Signature(ulong pointer)

Parameters

pointer UInt64

Methods

Destroy()

public void Destroy()

Dispose()

public void Dispose()

ToBytes()

public Byte[] ToBytes()

Returns

Byte[]

Equals(Bls12381Signature)

public bool Equals(Bls12381Signature? other)

Parameters

other Bls12381Signature?

Returns

Boolean

Equals(Object)

public override bool Equals(object? obj)

Parameters

obj Object?

Returns

Boolean

GetHashCode()

public override int GetHashCode()

Returns

Int32

FromBytes(Byte[])

public static Bls12381Signature FromBytes(Byte[] bytes)

Parameters

bytes Byte[]

Returns

Bls12381Signature

Exceptions

SdkFfiException

FromStr(String)

public static Bls12381Signature FromStr(string s)

Parameters

s String

Returns

Bls12381Signature

Exceptions

SdkFfiException

Random()

public static Bls12381Signature Random()

Returns

Bls12381Signature