normalizePublicKey abstract method

BuBytes? normalizePublicKey(
  1. List<int> publicKey
)

Validates 32-byte publicKey (33-byte 0xed-prefixed form accepted) and returns its canonical 32-byte base encoding, or null when invalid (bad length, prefix, range, curve membership, or identity).

Implementation

BuBytes? normalizePublicKey(List<int> publicKey);