RMS SDK for C++  0.2.1
A client library for using Microsoft RMS from Linux.
HttpHelper.h
1 /*
2  * ======================================================================
3  * Copyright (c) Microsoft Open Technologies, Inc. All rights reserved.
4  * Licensed under the MIT License.
5  * See LICENSE.md in the project root for license information.
6  * ======================================================================
7 */
8 
9 #ifndef _RMS_LIB_HTTPHELPER_H_
10 #define _RMS_LIB_HTTPHELPER_H_
11 
12 #include <vector>
13 #include <stdint.h>
14 
15 #include "ModernAPIExport.h"
16 
17 namespace rmscore {
18 namespace modernapi {
23 class DLL_PUBLIC_RMS HttpHelper {
24 public:
25 
32  static bool addCACertificateBase64(const std::vector<uint8_t>& certificate);
33 
40  static bool addCACertificateDer(const std::vector<uint8_t>& certificate);
41 };
42 } // namespace modernapi
43 } // namespace rmscore
44 
45 #endif // _RMS_LIB_HTTPHELPER_H_
Helper class to add additional trusted CA certificates for use only with this library.
Definition: HttpHelper.h:23
Definition: AuthenticationCallbackImpl.h:16