rsaPublicKeyModulusToBytes static method

Uint8List rsaPublicKeyModulusToBytes(
  1. RSAPublicKey publicKey
)

Converts the RSAPublicKey.modulus from the given publicKey to a Uint8List.

Implementation

static Uint8List rsaPublicKeyModulusToBytes(RSAPublicKey publicKey) =>
    encodeBigInt(publicKey.modulus);