KeyPair.fromSec1 constructor

KeyPair.fromSec1(
  1. SigningAlgorithm algorithm,
  2. Uint8List der
)

Parses a SEC1 ECPrivateKey for algorithm's curve.

Implementation

KeyPair.fromSec1(SigningAlgorithm algorithm, Uint8List der)
  : this._(algorithm, 2, der);