KeyPair.fromScalarAndPublicKey constructor
KeyPair.fromScalarAndPublicKey(
- SigningAlgorithm algorithm,
- Uint8List scalar,
- Uint8List publicKey
Loads a fixed-length big-endian scalar, refused unless publicKey,
an X9.62 point, is its public key, as a JWK's d and x/y carry
them.
Implementation
KeyPair.fromScalarAndPublicKey(
SigningAlgorithm algorithm,
Uint8List scalar,
Uint8List publicKey,
) : this._(algorithm, 3, scalar, publicKey);