encodeX25519Pkcs8

fnubyte[] encodeX25519Pkcs8(X25519PrivateKey key)

Encodes an X25519 private key as DER PKCS#8 PrivateKeyInfo (RFC 8410).