Struct EcdsaSignature
An ECDSA signature, generated by the Sign(Uuid, EcdsaSecretShare, MessageHash, uint[]) function. You can get the DER encoded signature via the der property, or the r,s,v form via the r, s and v properties.
public struct EcdsaSignature
- Inherited Members
Constructors
EcdsaSignature(byte[])
Initializes a new instance of the EcdsaSignature struct from bytes.
public EcdsaSignature(byte[] data)
Parameters
databyte[]The signature as bytes.
EcdsaSignature(string)
Initializes a new instance of the EcdsaSignature struct from a hex string.
public EcdsaSignature(string hexString)
Parameters
hexStringstringThe signature as a hex string.
Properties
Der
Gets the DER encoded signature.
public byte[] Der { get; }
Property Value
- byte[]
ExpandedSig
The expanded signature bytes.
public readonly byte[] ExpandedSig { get; }
Property Value
- byte[]
R
Gets the R value of the signature. 32 bytes.
public byte[] R { get; }
Property Value
- byte[]
S
Gets the S value of the signature. 32 bytes.
public byte[] S { get; }
Property Value
- byte[]
V
Gets the V value of the signature.(integer, with possible values 27/28/29/30)
public byte V { get; }