PublicKey mixin

Mixin Applications

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

equals(PublicKey publicKey) bool
Checks if two public keys are equal
flag() int
Return signature scheme flag of the public key
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toBase64() String
Return the base-64 representation of the public key
toRawBytes() Uint8List
Return the byte array representation of the public key
toString() String
Return the base-64 representation of the public key
override
toSuiAddress() String
Return the Sui address associated with this public key
toSuiBytes() Uint8List
Returns the bytes representation of the public key prefixed with the signature scheme flag
toSuiPublicKey() String
Return the Sui representation of the public key encoded in base-64. A Sui public key is formed by the concatenation of the scheme flag with the raw bytes of the public key
verify(Uint8List data, Uint8List signature) bool
Verifies that the signature is valid for for the provided message
verifyPersonalMessage(Uint8List message, String signature) bool
verifyTransactionBlock(Uint8List transactionBlock, String signature) bool
verifyWithIntent(Uint8List bytes, String signature, IntentScope intent) bool

Operators

operator ==(Object other) bool
The equality operator.
inherited