Skip to main content

Bls12381PublicKeyInterface

interface Bls12381PublicKeyInterface

A bls12381 min-sig public key.

BCS

The BCS serialized form of this type is specified in bcs-schema.abnf.

Due to historical reasons, even though a min-sig Bls12381PublicKey has a fixed-length of 96, IOTA's binary representation of a min-sig Bls12381PublicKey is prefixed with its length meaning its serialized binary form (in bcs) is 97 bytes long vs a more compact 96 bytes.

Inheritors​

Bls12381PublicKey

Functions​

NameSummary
toBcsabstract fun toBcs(): ByteArray
Convert this type to BCS encoded bytes.
toBytesabstract fun toBytes(): ByteArray
toDisplayStringabstract fun toDisplayString(): String
Render this type as human-readable text.
toJsonabstract fun toJson(): String
Convert this type to a JSON encoded string.