Nist256p1PrivateKey.fromBytes constructor
Factory method for creating a Nist256p1PrivateKey from a byte array.
Implementation
factory Nist256p1PrivateKey.fromBytes(List<int> keyBytes) {
final prv = ECDSAPrivateKey.fromBytes(keyBytes, Curves.generator256);
return Nist256p1PrivateKey._(prv);
}