EncryptingKey.fromComponents constructor

EncryptingKey.fromComponents(
  1. OaepAlgorithm algorithm, {
  2. required Uint8List n,
  3. required Uint8List e,
})

Loads a key for algorithm from its big-endian modulus n and exponent e, as a JWK carries them.

Implementation

EncryptingKey.fromComponents(
  OaepAlgorithm algorithm, {
  required Uint8List n,
  required Uint8List e,
}) : this._parse(algorithm, 2, n, e);