Skip to main content

Secp256r1PublicKeyInterface

interface Secp256r1PublicKeyInterface

A secp256r1 public key.

BCS

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

secp256r1-public-key = 33OCTET

Inheritors

Secp256r1PublicKey

Functions

NameSummary
deriveAddressabstract fun deriveAddress(): Address
Derive an Address from this Public Key
schemeabstract fun scheme(): SignatureScheme
Returns the signature scheme for this public key.
toBytesabstract fun toBytes(): ByteArray
toFlaggedBytesabstract fun toFlaggedBytes(): ByteArray
Returns the bytes with signature scheme flag prepended