P256Identity.fromKeyPair constructor

P256Identity.fromKeyPair(
  1. BinaryBlob publicKey,
  2. BinaryBlob privateKey
)

Implementation

factory P256Identity.fromKeyPair(
  BinaryBlob publicKey,
  BinaryBlob privateKey,
) {
  return P256Identity(
    P256PublicKey.fromRaw(publicKey),
    privateKey,
  );
}