IPublicKey.fromHex constructor

IPublicKey.fromHex(
  1. String keyHex,
  2. EllipticCurveTypes type
)

Implementation

factory IPublicKey.fromHex(String keyHex, EllipticCurveTypes type) {
  return IPublicKey.fromBytes(BytesUtils.fromHexString(keyHex), type);
}