rsaPublicKeyExponentToBytes static method

Uint8List rsaPublicKeyExponentToBytes(
  1. RSAPublicKey publicKey
)

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

Implementation

static Uint8List rsaPublicKeyExponentToBytes(RSAPublicKey publicKey) =>
    encodeBigInt(publicKey.exponent);