cleanup and modernization

This commit is contained in:
Günter Obiltschnig
2020-01-10 12:20:30 +01:00
parent 3a1f246ecc
commit e1f09a602b
20 changed files with 145 additions and 73 deletions

View File

@@ -60,9 +60,21 @@ public:
X509Certificate(const Poco::Crypto::X509Certificate& cert);
/// Creates the certificate by copying another one.
X509Certificate(const X509Certificate& cert);
/// Creates the certificate by copying another one.
X509Certificate(X509Certificate&& cert) noexcept;
/// Creates the certificate by moving another one.
X509Certificate& operator = (const Poco::Crypto::X509Certificate& cert);
/// Assigns a certificate.
X509Certificate& operator = (const X509Certificate& cert);
/// Assigns a certificate.
X509Certificate& operator = (X509Certificate&& cert) noexcept;
/// Moves a certificate.
~X509Certificate();
/// Destroys the X509Certificate.