summaryrefslogtreecommitdiff
path: root/cpp/src/Ice/SslCertificateAuthority.cpp
blob: 9247819d4e50ba34412900b313daa0000e992b23 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
// **********************************************************************
//
// Copyright (c) 2001
// MutableRealms, Inc.
// Huntsville, AL, USA
//
// All Rights Reserved
//
// **********************************************************************

#include <Ice/SslCertificateAuthority.h>

using namespace std;

IceSecurity::Ssl::CertificateAuthority::CertificateAuthority()
{
}

IceSecurity::Ssl::CertificateAuthority::CertificateAuthority(string& fileName, string& path) :
                                       _fileName(fileName),
                                       _path(path)
{
}

IceSecurity::Ssl::CertificateAuthority::CertificateAuthority(CertificateAuthority& certAuthority) :
                                       _fileName(certAuthority._fileName),
                                       _path(certAuthority._path)
{
}

void
IceSecurity::Ssl::CertificateAuthority::setCAFileName(string& fileName)
{
    _fileName = fileName;
}

void
IceSecurity::Ssl::CertificateAuthority::setCAPath(string& caPath)
{
    _path = caPath;
}