PublicKey constructor

PublicKey(
  1. VerificationAlgorithm algorithm,
  2. Uint8List point
)

Parses an X9.62 uncompressed point for algorithm, throwing RindError.keyRejected for a malformed one or one off the curve.

Implementation

PublicKey(VerificationAlgorithm algorithm, Uint8List point)
  : this._parse(algorithm, 0, point);