SuiSecp256r1PrivateKey.fromBytes constructor

SuiSecp256r1PrivateKey.fromBytes(
  1. List<int> keyBytes
)

Creates an instance from raw private key bytes.

Implementation

factory SuiSecp256r1PrivateKey.fromBytes(List<int> keyBytes) {
  return SuiSecp256r1PrivateKey._(Nist256p1PrivateKey.fromBytes(keyBytes));
}