CurvePrivateKey
RFC 8410 Algorithm Identifiers for Ed25519, Ed448, X25519, and X448 for Use in the Internet X.509 Public Key Infrastructure
https://tex2e.github.io/rfc-translater/html/rfc8410.html
EdDSA
(Ed25519, Ed448, X25519, X448)の秘密鍵の大元
OneAsymmetricKey
内の
PrivateKey
のEdDSA版
CurvePrivateKey ::=
OCTET STRING
ASN.1のOctet String 形式でそのまま保存できる形
基本的に生成も乱数 (暗号用に生成すること)
PKCS #8
などの形式で使いやすくするといい