hasValidPubkeyBytes static method

bool hasValidPubkeyBytes(
  1. List<int> pubKey,
  2. CryptoKeyType type
)

Whether bytes form a valid public key for the given curve.

Implementation

static bool hasValidPubkeyBytes(List<int> pubKey, CryptoKeyType type) {
  return IPublicKey.isValidBytes(pubKey, type);
}