aboutsummaryrefslogtreecommitdiffstats
path: root/vmime/security/cert/openssl
diff options
context:
space:
mode:
Diffstat (limited to 'vmime/security/cert/openssl')
-rw-r--r--vmime/security/cert/openssl/X509Certificate_OpenSSL.hpp16
1 files changed, 7 insertions, 9 deletions
diff --git a/vmime/security/cert/openssl/X509Certificate_OpenSSL.hpp b/vmime/security/cert/openssl/X509Certificate_OpenSSL.hpp
index 60ecda08..bddb4b6c 100644
--- a/vmime/security/cert/openssl/X509Certificate_OpenSSL.hpp
+++ b/vmime/security/cert/openssl/X509Certificate_OpenSSL.hpp
@@ -43,17 +43,15 @@ namespace cert {
class X509Certificate_OpenSSL : public X509Certificate
{
- friend class vmime::creator;
friend class X509Certificate;
-protected:
-
- X509Certificate_OpenSSL();
- X509Certificate_OpenSSL(X509* cert);
X509Certificate_OpenSSL(const X509Certificate_OpenSSL&);
public:
+ X509Certificate_OpenSSL();
+ X509Certificate_OpenSSL(X509* cert);
+
~X509Certificate_OpenSSL();
@@ -61,9 +59,9 @@ public:
const byteArray getSerialNumber() const;
- bool checkIssuer(ref <const X509Certificate> issuer) const;
+ bool checkIssuer(shared_ptr <const X509Certificate> issuer) const;
- bool verify(ref <const X509Certificate> caCert) const;
+ bool verify(shared_ptr <const X509Certificate> caCert) const;
bool verifyHostName(const string& hostname) const;
@@ -73,14 +71,14 @@ public:
const byteArray getFingerprint(const DigestAlgorithm algo) const;
- static ref <X509Certificate> importInternal(X509* cert);
+ static shared_ptr <X509Certificate> importInternal(X509* cert);
// Implementation of 'certificate'
const byteArray getEncoded() const;
const string getType() const;
int getVersion() const;
- bool equals(ref <const certificate> other) const;
+ bool equals(shared_ptr <const certificate> other) const;
void* getInternalData();
private: