How do we export public and private keys for non-RSA ciphers, such as NaCl library like xsalsa20poly1305 key? Is there any documentation about key exchanges instead of rolling my own cipher function / ckms?
For RSA, as far as I understand, the decoder is X.509, and/or PKCS12.