AnySignature

class AnySignature(val signature: Signature) : Signature

Instance of signature that uses the SingleKey authentication scheme. This signature can only be generated by a SingleKeySigner, since it uses the same authentication scheme.

Constructors

Link copied to clipboard
constructor(signature: Signature)

Properties

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
open override fun toBcs(): ByteArray
Link copied to clipboard
open override fun toByteArray(): ByteArray

Get the raw signature bytes

Link copied to clipboard
open override fun toString(): String

Get the signature as a hex string with a 0x prefix e.g. 0x123456...