Ice 3.7 C++11 API Reference
IceSSL
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
13
namespace
IceSSL
14
{
15
16
namespace
SecureTransport
17
{
18
19
class
Certificate;
20
ICE_DEFINE_PTR
(
CertificatePtr
, Certificate);
21
26
class
ICESSL_API
Certificate :
public
virtual
IceSSL::Certificate
27
{
28
public
:
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
IceSSL
Definition:
ConnectionInfo.h:59
ICE_DEFINE_PTR
#define ICE_DEFINE_PTR(TPtr, T)
Definition:
Config.h:359
IceSSL::CertificatePtr
::std::shared_ptr< Certificate > CertificatePtr
Definition:
Plugin.h:399
ICESSL_API
#define ICESSL_API
Definition:
ConnectionInfoF.h:49
IceSSL::Certificate
This convenience class is a wrapper around a native certificate.
Definition:
Plugin.h:412
Plugin.h
Generated by
1.8.20