fromBytes static method
Parses a 264-byte array into a public key.
The bytes encode n (256 bytes) || e (8 bytes) in big-endian order.
Throws if bytes is not 264 bytes long, if the modulus is not 2048 bits,
or if the exponent is not 65537.
Implementation
static PublicKey fromBytes(Uint8List bytes) =>
PublicKey._(ffi.RsaPublicKey.fromBytes(bytes: bytes));