Nist256p1Signer.fromKeyBytes constructor
Factory method to create a Nist256p1Signer from a byte representation of a private key.
Implementation
factory Nist256p1Signer.fromKeyBytes(List<int> keyBytes) {
final signingKey = ECDSAPrivateKey.fromBytes(
keyBytes,
CryptoSignerConst.nist256,
);
return Nist256p1Signer._(ECDSASigningKey(signingKey));
}