Skip to main content

Ed25519Signature

Namespace: IotaSdk

An ed25519 signature.

BCS

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

ed25519-signature = 64OCTET
public class Ed25519Signature : IEd25519Signature, System.IEquatable`1[[IotaSdk.Ed25519Signature, IotaSdk, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]], System.IDisposable

Inheritance Object → Ed25519Signature
Implements IEd25519Signature, IEquatable<Ed25519Signature>, IDisposable
Attributes NullableContextAttribute, NullableAttribute

Constructors​

Ed25519Signature(UInt64)​

public Ed25519Signature(ulong pointer)

Parameters​

pointer UInt64

Methods​

Destroy()​

public void Destroy()

Dispose()​

public void Dispose()

ToBytes()​

public Byte[] ToBytes()

Returns​

Byte[]

Equals(Ed25519Signature)​

public bool Equals(Ed25519Signature? other)

Parameters​

other Ed25519Signature?

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 Ed25519Signature FromBytes(Byte[] bytes)

Parameters​

bytes Byte[]

Returns​

Ed25519Signature

Exceptions​

SdkFfiException

FromStr(String)​

public static Ed25519Signature FromStr(string s)

Parameters​

s String

Returns​

Ed25519Signature

Exceptions​

SdkFfiException

Random()​

public static Ed25519Signature Random()

Returns​

Ed25519Signature