IUserSignature
Namespace: IotaSdk
A signature from a user
A UserSignature is most commonly used to authorize the execution and inclusion of a
transaction to the blockchain.
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 IUserSignature : System.IEquatable`1[[IotaSdk.UserSignature, IotaSdk, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]
Implements IEquatable<UserSignature>
Attributes NullableContextAttribute
Methods
AsMoveAuthenticator()
Convert this signature into a move authenticator if it is one, or panic otherwise
MoveAuthenticator AsMoveAuthenticator()
Returns
AsMultisig()
Convert this signature into a multisig aggregated signature if it is one, or panic otherwise
MultisigAggregatedSignature AsMultisig()
Returns
AsOptMoveAuthenticator()
Convert this signature into a move authenticator if it is one, or return None otherwise
MoveAuthenticator? AsOptMoveAuthenticator()
Returns
AsOptMultisig()
Convert this signature into a multisig aggregated signature if it is one, or return None
otherwise
MultisigAggregatedSignature? AsOptMultisig()
Returns
AsOptPasskeyAuthenticator()
Convert this signature into a passkey authenticator if it is one, or return None otherwise
PasskeyAuthenticator? AsOptPasskeyAuthenticator()
Returns
AsOptSimple()
Convert this signature into a simple signature if it is one, or return None otherwise
SimpleSignature? AsOptSimple()
Returns
AsPasskeyAuthenticator()
Convert this signature into a passkey authenticator if it is one, or panic otherwise
PasskeyAuthenticator AsPasskeyAuthenticator()
Returns
AsSimple()
Convert this signature into a simple signature if it is one, or panic otherwise
SimpleSignature AsSimple()
Returns
DeriveAddress()
Derive the Address of the signer that this signature authenticates.
Address DeriveAddress()
Returns
IsMoveAuthenticator()
Check if this signature is a move authenticator
bool IsMoveAuthenticator()
Returns
IsMultisig()
Check if this signature is a multisig aggregated signature
bool IsMultisig()
Returns
IsPasskeyAuthenticator()
Check if this signature is a passkey authenticator
bool IsPasskeyAuthenticator()
Returns
IsSimple()
Check if this signature is a simple signature
bool IsSimple()
Returns
Scheme()
Return the flag for this signature scheme
SignatureScheme Scheme()
Returns
ToBase64()
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()