AddrKeyValidator class

Class for address utility functions.

Constructors

AddrKeyValidator()

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

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

hasValidPubkeyBytes(List<int> pubKey, EllipticCurveTypes type) bool
nullOrValidateAddressArgs<T>(Map<String, dynamic> kwargs, String key) → T?
validateAddressArgs<T>(Map<String, dynamic> kwargs, String key) → T
validate argrument by key
validateAndGetEd25519Blake2bKey(List<int> pubKey) IPublicKey
Validate and get an ed25519-blake2b public key.
validateAndGetEd25519Key(List<int> pubKey) IPublicKey
Validate and get an ed25519 public key.
validateAndGetEd25519MoneroKey(List<int> pubKey) IPublicKey
Validate and get an ed25519-monero public key.
validateAndGetNist256p1Key(List<int> pubKey) IPublicKey
Validate and get a nist256p1 public key.
validateAndGetSecp256k1Key(List<int> pubKey) IPublicKey
Validate and get a secp256k1 public key.
validateAndGetSr25519Key(List<int> pubKey) IPublicKey
Validate and get an sr25519 public key.