]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
Documentation formatting and ordering for createFromPEMFile
authorFred Morcos <fred.morcos@open-xchange.com>
Fri, 10 Feb 2023 14:51:06 +0000 (15:51 +0100)
committerFred Morcos <fred.morcos@open-xchange.com>
Tue, 14 Feb 2023 09:09:13 +0000 (10:09 +0100)
pdns/decafsigners.cc
pdns/opensslsigners.cc
pdns/sodiumsigners.cc

index 2c6af8bd81dba9308d4b5b997928a52c6fb6c666..c00f2f8762be0e2cc5f39e7361b377a79fb23583 100644 (file)
@@ -26,19 +26,15 @@ public:
   /**
    * \brief Creates an ED25519 key engine from a PEM file.
    *
-   * Receives an open file handle with PEM contents and creates an
-   * ED25519 key engine.
+   * Receives an open file handle with PEM contents and creates an ED25519 key engine.
    *
    * \param[in] drc Key record contents to be populated.
    *
-   * \param[in] filename Only used for providing filename information in
-   * error messages.
+   * \param[in] inputFile An open file handle to a file containing ED25519 PEM contents.
    *
-   * \param[in] inputFile An open file handle to a file containing ED25519 PEM
-   * contents.
+   * \param[in] filename Only used for providing filename information in error messages.
    *
-   * \return An ED25519 key engine populated with the contents of the
-   * PEM file.
+   * \return An ED25519 key engine populated with the contents of the PEM file.
    */
   void createFromPEMFile(DNSKEYRecordContent& drc, std::FILE& inputFile, const std::string& filename) override;
 
@@ -224,19 +220,15 @@ public:
   /**
    * \brief Creates an ED448 key engine from a PEM file.
    *
-   * Receives an open file handle with PEM contents and creates an ED448
-   * key engine.
+   * Receives an open file handle with PEM contents and creates an ED448 key engine.
    *
    * \param[in] drc Key record contents to be populated.
    *
-   * \param[in] filename Only used for providing filename information in
-   * error messages.
+   * \param[in] inputFile An open file handle to a file containing ED448 PEM contents.
    *
-   * \param[in] inputFile An open file handle to a file containing ED448 PEM
-   * contents.
+   * \param[in] filename Only used for providing filename information in error messages.
    *
-   * \return An ED448 key engine populated with the contents of the PEM
-   * file.
+   * \return An ED448 key engine populated with the contents of the PEM file.
    */
   void createFromPEMFile(DNSKEYRecordContent& drc, std::FILE& inputFile, const std::string& filename) override;
 
index 4b2ef8be7a34d830ae7f9a7eade8c0e8d89f55c7..3586ea261b09abb8257fc3c44bfdec5795178fcf 100644 (file)
@@ -215,16 +215,14 @@ public:
   /**
    * \brief Creates an RSA key engine from a PEM file.
    *
-   * Receives an open file handle with PEM contents and creates an RSA key
-   * engine.
+   * Receives an open file handle with PEM contents and creates an RSA key engine.
    *
    * \param[in] drc Key record contents to be populated.
    *
-   * \param[in] filename Only used for providing filename information in error
-   * messages.
-   *
    * \param[in] inputFile An open file handle to a file containing RSA PEM contents.
    *
+   * \param[in] filename Only used for providing filename information in error messages.
+   *
    * \return An RSA key engine populated with the contents of the PEM file.
    */
   void createFromPEMFile(DNSKEYRecordContent& drc, std::FILE& inputFile, const std::string& filename) override;
@@ -999,19 +997,15 @@ public:
   /**
    * \brief Creates an ECDSA key engine from a PEM file.
    *
-   * Receives an open file handle with PEM contents and creates an ECDSA
-   * key engine.
+   * Receives an open file handle with PEM contents and creates an ECDSA key engine.
    *
    * \param[in] drc Key record contents to be populated.
    *
-   * \param[in] filename Only used for providing filename information
-   * in error messages.
+   * \param[in] inputFile An open file handle to a file containing ECDSA PEM contents.
    *
-   * \param[in] inputFile An open file handle to a file containing ECDSA PEM
-   * contents.
+   * \param[in] filename Only used for providing filename information in error messages.
    *
-   * \return An ECDSA key engine populated with the contents of the PEM
-   * file.
+   * \return An ECDSA key engine populated with the contents of the PEM file.
    */
   void createFromPEMFile(DNSKEYRecordContent& drc, std::FILE& inputFile, const std::string& filename) override;
 
@@ -1754,19 +1748,15 @@ public:
   /**
    * \brief Creates an EDDSA key engine from a PEM file.
    *
-   * Receives an open file handle with PEM contents and creates an EDDSA
-   * key engine.
+   * Receives an open file handle with PEM contents and creates an EDDSA key engine.
    *
    * \param[in] drc Key record contents to be populated.
    *
-   * \param[in] filename Only used for providing filename information in
-   * error messages.
+   * \param[in] inputFile An open file handle to a file containing EDDSA PEM contents.
    *
-   * \param[in] inputFile An open file handle to a file containing EDDSA PEM
-   * contents.
+   * \param[in] filename Only used for providing filename information in error messages.
    *
-   * \return An EDDSA key engine populated with the contents of the PEM
-   * file.
+   * \return An EDDSA key engine populated with the contents of the PEM file.
    */
   void createFromPEMFile(DNSKEYRecordContent& drc, std::FILE& inputFile, const std::string& filename) override;
 
index 623d3290ff0bac1c1da7313a257079edc9a1e8fe..d662eaa3b100e5132c460ea90d4a8510da8e3eff 100644 (file)
@@ -23,19 +23,15 @@ public:
   /**
    * \brief Creates an ED25519 key engine from a PEM file.
    *
-   * Receives an open file handle with PEM contents and creates an
-   * ED25519 key engine.
+   * Receives an open file handle with PEM contents and creates an ED25519 key engine.
    *
    * \param[in] drc Key record contents to be populated.
    *
-   * \param[in] filename Only used for providing filename information in
-   * error messages.
+   * \param[in] inputFile An open file handle to a file containing ED25519 PEM contents.
    *
-   * \param[in] inputFile An open file handle to a file containing ED25519 PEM
-   * contents.
+   * \param[in] filename Only used for providing filename information in error messages.
    *
-   * \return An ED25519 key engine populated with the contents of the
-   * PEM file.
+   * \return An ED25519 key engine populated with the contents of the PEM file.
    */
   void createFromPEMFile(DNSKEYRecordContent& drc, std::FILE& inputFile, const std::string& filename) override;