ISimpleSignature
Namespace: IotaSdk
A basic signature
This enumeration defines the set of simple or basic signature schemes supported by IOTA. Most signature schemes supported by IOTA end up comprising of a at least one simple signature scheme.
BCS
The BCS serialized form of this type is specified in
bcs-schema.abnf.
Note: Due to historical reasons, signatures are serialized slightly different from the majority
of the types in IOTA. In particular if a signature is ever embedded in another structure it
generally is serialized as bytes meaning it has a length prefix that defines the length of the
completely serialized signature.
public interface ISimpleSignature : System.IEquatable`1[[IotaSdk.SimpleSignature, IotaSdk, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]
Implements IEquatable<SimpleSignature>
Attributes NullableContextAttribute
Methods
DeriveAddress()
Derive the Address of the public key that produced this signature.
Address DeriveAddress()
Returns
Ed25519PublicKey()
Ed25519PublicKey Ed25519PublicKey()
Returns
Ed25519Signature()
Ed25519Signature Ed25519Signature()
Returns
IsEd25519()
bool IsEd25519()
Returns
IsSecp256k1()
bool IsSecp256k1()
Returns
IsSecp256r1()
bool IsSecp256r1()
Returns
OptEd25519PublicKey()
Ed25519PublicKey? OptEd25519PublicKey()
Returns
OptEd25519Signature()
Ed25519Signature? OptEd25519Signature()
Returns
OptSecp256k1PublicKey()
Secp256k1PublicKey? OptSecp256k1PublicKey()
Returns
OptSecp256k1Signature()
Secp256k1Signature? OptSecp256k1Signature()
Returns
OptSecp256r1PublicKey()
Secp256r1PublicKey? OptSecp256r1PublicKey()
Returns
OptSecp256r1Signature()
Secp256r1Signature? OptSecp256r1Signature()
Returns
Scheme()
SignatureScheme Scheme()
Returns
Secp256k1PublicKey()
Secp256k1PublicKey Secp256k1PublicKey()
Returns
Secp256k1Signature()
Secp256k1Signature Secp256k1Signature()
Returns
Secp256r1PublicKey()
Secp256r1PublicKey Secp256r1PublicKey()
Returns
Secp256r1Signature()
Secp256r1Signature Secp256r1Signature()
Returns
SignatureBytes()
The raw signature bytes, without the scheme flag or the public key.
Byte[] SignatureBytes()
Returns
ToBase64()
Base64-encode this signature as its flag || sig || pubkey bytes.
string ToBase64()
Returns
ToBcs()
Convert this type to BCS encoded bytes.
Byte[] ToBcs()
Returns
Exceptions
ToBytes()
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.
string ToDisplayString()
Returns
ToJson()
Convert this type to a JSON encoded string.
string ToJson()
Returns
Exceptions
ToPublicKey()
The public key embedded in this signature.
PublicKey ToPublicKey()