OneAsymmetricKey
RFC 5958
code:OneAsymmetricKey
OneAsymmetricKey ::= SEQUENCE {
version Version,
privateKeyAlgorithm PrivateKeyAlgorithmIdentifier,
privateKey PrivateKey,
attributes 0 Attributes OPTIONAL, ...,
2: publicKey 1 PublicKey OPTIONAL , ...
}
PrivateKeyInfo ::= OneAsymmetricKey
version
v2 (1) 公開鍵を含む OneAsymmetricKey相当
dsa RFC 3279 privateKeyAlgorithmのparameterにドメインパラメータが必要 PrivateKey INTEGER
dh RFC 3279
ike
ecdh 制限 OID以外はおなじ
ECDSA系 RFC 5915
X25519, X448 RFC 8410
など?