Structs§
- ECPrivate
Key - Elliptic Curve Private Key Structure
- Private
KeyInfo - Public-Key Cryptography Standards (PKCS) #8 Asymmetric Key Packages
- RsaPrivate
Key - PKCS #1: RSA Cryptography Specifications Version 2.2
Enums§
Constants§
- PRIVATE_
KEY_ INFO_ VERSION_ 1 - When
PrivateKeyInfo
have this version specified, it should not havepublic_key
field set. This version ofPrivateKeyInfo
mostly used to represent RSA and EC private keys. - PRIVATE_
KEY_ INFO_ VERSION_ 2 - When
PrivateKeyInfo
have this version specified, it should havepublic_key
field set. This version ofPrivateKeyInfo
mostly used to represent Ed25519 and Ed448 private keys and defined asOneAsymmetricKey
in RFC5958.