Skip to main content

Secp256r1Signature

open class Secp256r1Signature : Disposable, AutoCloseable, Secp256r1SignatureInterface

A secp256r1 signature.

BCS

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

Functions​

NameSummary
close@Synchronized
open override fun close()
destroyopen override fun destroy()
equalsopen operator override fun equals(other: Any?): Boolean
hashCodeopen override fun hashCode(): Int
toBcsopen override fun toBcs(): ByteArray
Convert this type to BCS encoded bytes.
toBytesopen override fun toBytes(): ByteArray
toDisplayStringopen override fun toDisplayString(): String
Render this type as human-readable text.
toJsonopen override fun toJson(): String
Convert this type to a JSON encoded string.

Companion object functions​

NameSummary
fromBcsfun fromBcs(bcs: ByteArray): Secp256r1Signature
Create this type from BCS encoded bytes.
fromBytesfun fromBytes(bytes: ByteArray): Secp256r1Signature
fromJsonfun fromJson(json: String): Secp256r1Signature
Create this type from a JSON encoded string.
fromStrfun fromStr(s: String): Secp256r1Signature
randomfun random(): Secp256r1Signature