fromDer static method
Parses a DER buffer into a private key.
Throws if der is not a PKCS #8 v1 encoded xDSA private key, or if bytes
follow it.
Implementation
static SecretKey fromDer(Uint8List der) =>
SecretKey._(ffi.XdsaSecretKey.fromDer(der: der));