pkcs8_key_format.h
X.509 common definitions.
error_t pkcs8FormatEddsaPrivateKey(const EddsaPrivateKey *privateKey, uint8_t *output, size_t *written)
Format an EdDSA private key.
Definition: pkcs8_key_format.c:189
error_t pkcs8FormatEddsaPublicKey(const EddsaPublicKey *publicKey, uint8_t *output, size_t *written)
Format an EdDSA public key.
Definition: pkcs8_key_format.c:237
General definitions for cryptographic algorithms.
error_t pkcs8FormatEcPrivateKey(const EcPrivateKey *privateKey, uint8_t *output, size_t *written)
Format an EC private key.
Definition: pkcs8_key_format.c:141
error_t pkcs8FormatDsaPrivateKey(const DsaPrivateKey *privateKey, uint8_t *output, size_t *written)
Format a DSA private key.
Definition: pkcs8_key_format.c:98
error_t pkcs8FormatRsaPrivateKey(const RsaPrivateKey *privateKey, uint8_t *output, size_t *written)
Format an RSA private key.
Definition: pkcs8_key_format.c:55
error_t pkcs8FormatMldsaPrivateKey(const MldsaPrivateKey *privateKey, uint8_t *output, size_t *written)
Format an ML-DSA private key.
Definition: pkcs8_key_format.c:301
