Skip to main content

SignatureScheme

enum SignatureScheme : Enum<SignatureScheme>

Flag use to disambiguate the signature schemes supported by IOTA.

BCS

The BCS serialized form for this type is defined by the following ABNF:

signature-scheme = ed25519-flag / secp256k1-flag / secp256r1-flag /
multisig-flag / bls-flag / passkey-auth-flag /
move-auth-flag
ed25519-flag = %d00
secp256k1-flag = %d01
secp256r1-flag = %d02
multisig-flag = %d03
bls-flag = %d04
passkey-auth-flag = %d06
move-auth-flag = %d07

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

Entries

ED25519ED25519
SECP256K1SECP256K1
SECP256R1SECP256R1
MULTISIGMULTISIG
BLS12381BLS12381
PASSKEY_AUTHENTICATORPASSKEY_AUTHENTICATOR
MOVE_AUTHENTICATORMOVE_AUTHENTICATOR

Properties

NameSummary
entriesval entries: EnumEntries<SignatureScheme>
Returns a representation of an immutable list of all enum entries, in the order they're declared.
nameval name: String
ordinalval ordinal: Int
valueval value: UByte

Functions

NameSummary
valueOffun valueOf(value: String): SignatureScheme
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
valuesfun values(): Array<SignatureScheme>
Returns an array containing the constants of this enum type, in the order they're declared.

BLS12381

BLS12381

Properties

NameSummary
nameval name: String
ordinalval ordinal: Int
valueval value: UByte

ED25519

ED25519

Properties

NameSummary
nameval name: String
ordinalval ordinal: Int
valueval value: UByte

MOVE_AUTHENTICATOR

MOVE_AUTHENTICATOR

Properties

NameSummary
nameval name: String
ordinalval ordinal: Int
valueval value: UByte

MULTISIG

MULTISIG

Properties

NameSummary
nameval name: String
ordinalval ordinal: Int
valueval value: UByte

PASSKEY_AUTHENTICATOR

PASSKEY_AUTHENTICATOR

Properties

NameSummary
nameval name: String
ordinalval ordinal: Int
valueval value: UByte

SECP256K1

SECP256K1

Properties

NameSummary
nameval name: String
ordinalval ordinal: Int
valueval value: UByte

SECP256R1

SECP256R1

Properties

NameSummary
nameval name: String
ordinalval ordinal: Int
valueval value: UByte