Ice 3.7 C++98 API Reference
Loading...
Searching...
No Matches
SecureTransport.h
Go to the documentation of this file.
1//
2// Copyright (c) ZeroC, Inc. All rights reserved.
3//
4
5#ifndef ICESSL_SECURE_TRANSPORT_H
6#define ICESSL_SECURE_TRANSPORT_H
7
8#ifdef __APPLE__
9
10#include <IceSSL/Plugin.h>
11#include <Security/Security.h>
12
13namespace IceSSL
14{
15
16namespace SecureTransport
17{
18
19class Certificate;
20ICE_DEFINE_PTR(CertificatePtr, Certificate);
21
26class ICESSL_API Certificate : public virtual IceSSL::Certificate
27{
28public:
29
37 static CertificatePtr create(SecCertificateRef cert);
38
46 static CertificatePtr load(const std::string& file);
47
54 static CertificatePtr decode(const std::string& str);
55
63 virtual SecCertificateRef getCert() const = 0;
64};
65
66} // SecureTransport namespace end
67
68} // IceSSL namespace end
69
70#endif
71
72#endif
#define ICESSL_API
Definition ConnectionInfoF.h:49
#define ICE_DEFINE_PTR(TPtr, T)
Definition Config.h:377
::IceUtil::Handle< Certificate > CertificatePtr
Definition OpenSSL.h:60
Definition ConnectionInfo.h:138