pub const PRIVATE_KEY_INFO_VERSION_2: u8 = 1;
Expand description

When PrivateKeyInfo have this version specified, it should have public_key field set. This version of PrivateKeyInfo mostly used to represent Ed25519 and Ed448 private keys and defined as OneAsymmetricKey in RFC5958.