Struct Sig
Assembly: cs.temp.dll.dll
Syntax
public struct Sig : ISignature, IEquatable<Sig>, IByteArray
Constructors
Sig(Ed25519.Signature)
Declaration
public Sig(in Ed25519.Signature sig)
Parameters
Type |
Name |
Description |
Ed25519.Signature |
sig |
|
Properties
Item[Int32]
Declaration
public byte this[int index] { get; set; }
Parameters
Type |
Name |
Description |
Int32 |
index |
|
Property Value
Length
Declaration
public int Length { get; }
Property Value
Methods
Equals(Sig)
Declaration
public bool Equals(Sig other)
Parameters
Type |
Name |
Description |
Sig |
other |
|
Returns
Equals(Object)
Declaration
public override bool Equals(object obj)
Parameters
Type |
Name |
Description |
Object |
obj |
|
Returns
Overrides
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Overrides
GetUnsafePtr()
Declaration
public void *GetUnsafePtr()
Returns
Verify<TMessage>(TMessage, Ed25519.PublicKey)
Declaration
public bool Verify<TMessage>(TMessage message, Ed25519.PublicKey pk)
where TMessage : IByteArray
Parameters
Type |
Name |
Description |
TMessage |
message |
|
Ed25519.PublicKey |
pk |
|
Returns
Type Parameters
Name |
Description |
TMessage |
|
Operators
Equality(Sig, Sig)
Declaration
public static bool operator ==(in Sig x, in Sig y)
Parameters
Type |
Name |
Description |
Sig |
x |
|
Sig |
y |
|
Returns
Implicit(Sig to Ed25519.Signature)
Declaration
public static implicit operator Ed25519.Signature(Sig signature)
Parameters
Type |
Name |
Description |
Sig |
signature |
|
Returns
Type |
Description |
Ed25519.Signature |
|
Implicit(Ed25519.Signature to Sig)
Declaration
public static implicit operator Sig(Ed25519.Signature sig)
Parameters
Type |
Name |
Description |
Ed25519.Signature |
sig |
|
Returns
Inequality(Sig, Sig)
Declaration
public static bool operator !=(in Sig x, in Sig y)
Parameters
Type |
Name |
Description |
Sig |
x |
|
Sig |
y |
|
Returns
Implements