Skip to main content

SignatureScheme

type SignatureScheme​

Flag use to disambiguate the signature schemes supported by IOTA.

BCS​

Flag `%d05` is reserved: it was formerly used for the now-removed zklogin authenticator (which was never enabled on chain) and is intentionally skipped.

type SignatureScheme uint8
const (
SignatureSchemeEd25519 SignatureScheme = 0
SignatureSchemeSecp256k1 SignatureScheme = 1
SignatureSchemeSecp256r1 SignatureScheme = 2
SignatureSchemeMultisig SignatureScheme = 3
SignatureSchemeBls12381 SignatureScheme = 4
SignatureSchemePasskeyAuthenticator SignatureScheme = 6
SignatureSchemeMoveAuthenticator SignatureScheme = 7
)

func (SignatureScheme) ToDisplayString​

func (_self SignatureScheme) ToDisplayString() string

Render this type as human-readable text.

The layout is meant for reading and can change between releases. Use the JSON or BCS conversions for output that gets parsed.