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
| ED25519 | ED25519 |
| SECP256K1 | SECP256K1 |
| SECP256R1 | SECP256R1 |
| MULTISIG | MULTISIG |
| BLS12381 | BLS12381 |
| PASSKEY_AUTHENTICATOR | PASSKEY_AUTHENTICATOR |
| MOVE_AUTHENTICATOR | MOVE_AUTHENTICATOR |
Properties
| Name | Summary |
|---|---|
| entries | val entries: EnumEntries<SignatureScheme> Returns a representation of an immutable list of all enum entries, in the order they're declared. |
| name | val name: String |
| ordinal | val ordinal: Int |
| value | val value: UByte |
Functions
| Name | Summary |
|---|---|
| valueOf | fun 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.) |
| values | fun values(): Array<SignatureScheme> Returns an array containing the constants of this enum type, in the order they're declared. |
BLS12381
Properties
| Name | Summary |
|---|---|
| name | val name: String |
| ordinal | val ordinal: Int |
| value | val value: UByte |
ED25519
Properties
| Name | Summary |
|---|---|
| name | val name: String |
| ordinal | val ordinal: Int |
| value | val value: UByte |
MOVE_AUTHENTICATOR
Properties
| Name | Summary |
|---|---|
| name | val name: String |
| ordinal | val ordinal: Int |
| value | val value: UByte |
MULTISIG
Properties
| Name | Summary |
|---|---|
| name | val name: String |
| ordinal | val ordinal: Int |
| value | val value: UByte |
PASSKEY_AUTHENTICATOR
Properties
| Name | Summary |
|---|---|
| name | val name: String |
| ordinal | val ordinal: Int |
| value | val value: UByte |
SECP256K1
Properties
| Name | Summary |
|---|---|
| name | val name: String |
| ordinal | val ordinal: Int |
| value | val value: UByte |
SECP256R1
Properties
| Name | Summary |
|---|---|
| name | val name: String |
| ordinal | val ordinal: Int |
| value | val value: UByte |