diff options
author | Richard Levitte <levitte@openssl.org> | 2020-02-12 13:05:09 +0100 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2020-02-15 06:46:00 +0100 |
commit | 9ea59241745e0ca17dc05a142544aca032cc75a0 (patch) | |
tree | 1011d81530037f33b001560e334185af54f06395 /doc | |
parent | PROV: Build the main FIPS module code with FIPS_MODE defined (diff) | |
download | openssl-9ea59241745e0ca17dc05a142544aca032cc75a0.tar.xz openssl-9ea59241745e0ca17dc05a142544aca032cc75a0.zip |
Document OSSL_SERIALIZER_PUBKEY_TO_DER_PQ and friends
Reviewed-by: Shane Lontis <shane.lontis@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/11071)
Diffstat (limited to 'doc')
-rw-r--r-- | doc/man3/OSSL_SERIALIZER_CTX_new_by_EVP_PKEY.pod | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/doc/man3/OSSL_SERIALIZER_CTX_new_by_EVP_PKEY.pod b/doc/man3/OSSL_SERIALIZER_CTX_new_by_EVP_PKEY.pod index 8cc7cfbf30..f95753aa21 100644 --- a/doc/man3/OSSL_SERIALIZER_CTX_new_by_EVP_PKEY.pod +++ b/doc/man3/OSSL_SERIALIZER_CTX_new_by_EVP_PKEY.pod @@ -10,6 +10,9 @@ OSSL_SERIALIZER_CTX_set_passphrase_ui, OSSL_SERIALIZER_PUBKEY_TO_PEM_PQ, OSSL_SERIALIZER_PrivateKey_TO_PEM_PQ, OSSL_SERIALIZER_Parameters_TO_PEM_PQ, +OSSL_SERIALIZER_PUBKEY_TO_DER_PQ, +OSSL_SERIALIZER_PrivateKey_TO_DER_PQ, +OSSL_SERIALIZER_Parameters_TO_DER_PQ, OSSL_SERIALIZER_PUBKEY_TO_TEXT_PQ, OSSL_SERIALIZER_PrivateKey_TO_TEXT_PQ, OSSL_SERIALIZER_Parameters_TO_TEXT_PQ @@ -38,6 +41,10 @@ OSSL_SERIALIZER_Parameters_TO_TEXT_PQ #define OSSL_SERIALIZER_PrivateKey_TO_PEM_PQ "format=pem,type=private" #define OSSL_SERIALIZER_Parameters_TO_PEM_PQ "format=pem,type=parameters" + #define OSSL_SERIALIZER_PUBKEY_TO_DER_PQ "format=der,type=public" + #define OSSL_SERIALIZER_PrivateKey_TO_DER_PQ "format=der,type=private" + #define OSSL_SERIALIZER_Parameters_TO_DER_PQ "format=der,type=parameters" + #define OSSL_SERIALIZER_PUBKEY_TO_TEXT_PQ "format=text,type=public" #define OSSL_SERIALIZER_PrivateKey_TO_TEXT_PQ "format=text,type=private" #define OSSL_SERIALIZER_Parameters_TO_TEXT_PQ "format=text,type=parameters" @@ -84,11 +91,14 @@ through an internal B<OSSL_PASSPHRASE_CALLBACK> function. The macros B<OSSL_SERIALIZER_PUBKEY_TO_PEM_PQ>, B<OSSL_SERIALIZER_PrivateKey_TO_PEM_PQ>, B<OSSL_SERIALIZER_Parameters_TO_PEM_PQ>, +B<OSSL_SERIALIZER_PUBKEY_TO_DER_PQ>, +B<OSSL_SERIALIZER_PrivateKey_TO_DER_PQ>, +B<OSSL_SERIALIZER_Parameters_TO_DER_PQ>, B<OSSL_SERIALIZER_PUBKEY_TO_TEXT_PQ>, B<OSSL_SERIALIZER_PrivateKey_TO_TEXT_PQ>, B<OSSL_SERIALIZER_Parameters_TO_TEXT_PQ> are convenience macros with property queries to serialize the B<EVP_PKEY> as a public key, private -key or parameters to B<PEM>, or to text. +key or parameters to B<PEM>, to B<DER>, or to text. =head1 RETURN VALUES |