rsaPrivateKeyModulusToBytes static method

Uint8List rsaPrivateKeyModulusToBytes(
  1. RSAPrivateKey privateKey
)

Converts the RSAPrivateKey.modulus from the given privateKey to a Uint8List.

Implementation

static Uint8List rsaPrivateKeyModulusToBytes(RSAPrivateKey privateKey) =>
    encodeBigInt(privateKey.modulus);