Secp256r1Signature
Namespace: IotaSdk
A secp256r1 signature.
BCS
The BCS serialized form of this type is specified in
bcs-schema.abnf.
public class Secp256r1Signature : ISecp256r1Signature, System.IEquatable`1[[IotaSdk.Secp256r1Signature, IotaSdk, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]], System.IDisposable
Inheritance Object → Secp256r1Signature
Implements ISecp256r1Signature, IEquatable<Secp256r1Signature>, IDisposable
Attributes NullableContextAttribute, NullableAttribute
Constructors
Secp256r1Signature(UInt64)
public Secp256r1Signature(ulong pointer)
Parameters
pointer UInt64
Methods
Destroy()
public void Destroy()
Dispose()
public void Dispose()
ToBcs()
Convert this type to BCS encoded bytes.
public Byte[] ToBcs()
Returns
Exceptions
ToBytes()
public Byte[] ToBytes()
Returns
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
Equals(Secp256r1Signature)
public bool Equals(Secp256r1Signature? other)
Parameters
other Secp256r1Signature?
Returns
Equals(Object)
public override bool Equals(object? obj)
Parameters
obj Object?
Returns
GetHashCode()
public override int GetHashCode()
Returns
FromBcs(Byte[])
Create this type from BCS encoded bytes.
public static Secp256r1Signature FromBcs(Byte[] bcs)
Parameters
bcs Byte[]
Returns
Exceptions
FromBytes(Byte[])
public static Secp256r1Signature FromBytes(Byte[] bytes)
Parameters
bytes Byte[]
Returns
Exceptions
FromJson(String)
Create this type from a JSON encoded string.
public static Secp256r1Signature FromJson(string json)
Parameters
json String
Returns
Exceptions
FromStr(String)
public static Secp256r1Signature FromStr(string s)
Parameters
s String
Returns
Exceptions
Random()
public static Secp256r1Signature Random()