fromDer static method
Parses a DER buffer into a private key.
Throws if der is not the canonical PKCS #8 v1 encoding of an RSA
private key with a 2048-bit modulus and the exponent 65537.
Implementation
static SecretKey fromDer(Uint8List der) =>
SecretKey._(ffi.RsaSecretKey.fromDer(der: der));