PublicKey.fromSpki constructor

PublicKey.fromSpki(
  1. VerificationAlgorithm algorithm,
  2. Uint8List der
)

Parses a SubjectPublicKeyInfo for algorithm, throwing RindError.keyRejected for a malformed one or one naming another algorithm or curve.

Implementation

PublicKey.fromSpki(VerificationAlgorithm algorithm, Uint8List der)
  : this._parse(algorithm, 1, der);