Microsoft Information Protection SDK - C 1.17
API Reference Documentation for C
Loading...
Searching...
No Matches
delegation_license_cc.h
Go to the documentation of this file.
1/*
2 *
3 * Copyright (c) Microsoft Corporation.
4 * All rights reserved.
5 *
6 * This code is licensed under the MIT License.
7 *
8 * Permission is hereby granted, free of charge, to any person obtaining a copy
9 * of this software and associated documentation files(the "Software"), to deal
10 * in the Software without restriction, including without limitation the rights
11 * to use, copy, modify, merge, publish, distribute, sublicense, and / or sell
12 * copies of the Software, and to permit persons to whom the Software is
13 * furnished to do so, subject to the following conditions :
14 *
15 * The above copyright notice and this permission notice shall be included in
16 * all copies or substantial portions of the Software.
17 *
18 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
19 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
20 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.IN NO EVENT SHALL THE
21 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
22 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
23 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
24 * THE SOFTWARE.
25 *
26 */
27
34#ifndef API_MIP_PROTECTION_DELEGATION_LICENSE_CC_H_
35#define API_MIP_PROTECTION_DELEGATION_LICENSE_CC_H_
36
42
58
74MIP_CC_API(mip_cc_result) MIP_CC_CreateDelegationLicenseSettings(
82
88MIP_CC_API(void) MIP_CC_ReleaseDelegationLicenseSettings(
90
110MIP_CC_API(mip_cc_result) MIP_CC_DelegationLicenses_GetLicenses(
111 const mip_cc_delegation_licenses licenses,
113 int32_t* count,
115
128MIP_CC_API(mip_cc_result) MIP_CC_DelegationLicense_GetDynamicWatermark (
129 const mip_cc_delegation_license license,
132
138MIP_CC_API(void) MIP_CC_ReleaseDelegationLicenses(
140
146MIP_CC_API(void) MIP_CC_ReleaseDelegationLicense(
148
169MIP_CC_API(mip_cc_result) MIP_CC_DelegationLicense_GetSerializedDelegationJsonLicense(
170 const mip_cc_delegation_license license,
174
195MIP_CC_API(mip_cc_result) MIP_CC_DelegationLicense_GetSerializedDelegationXrmlLicense(
196 const mip_cc_delegation_license license,
197 uint8_t* serializedLicense,
198 int32_t* serializedLicenseSize,
200
221MIP_CC_API(mip_cc_result) MIP_CC_DelegationLicense_GetSerializedUserLicense(
222 const mip_cc_delegation_license license,
224 uint8_t* serializedLicense,
225 int32_t* serializedLicenseSize,
227
241MIP_CC_API(mip_cc_result) MIP_CC_DelegationLicense_GetUser(
242 const mip_cc_delegation_license license,
243 const char** user,
245
246#endif // API_MIP_PROTECTION_DELEGATION_LICENSE_CC_H_
A file Containing the common types used by the upe, file and protection modules.
mip_cc_delegation_license * delegationLicenseArray
Definition delegation_license_cc.h:112
mip_cc_delegation_license int32_t * count
Definition delegation_license_cc.h:113
mip_cc_dynamic_watermark * dynamicWatermark
Definition delegation_license_cc.h:130
const uint8_t int32_t publishingLicenseBufferSize
Definition delegation_license_cc.h:77
MIP_CC_API(void) MIP_CC_ReleaseDelegationLicenseSettings(mip_cc_delegation_license_settings licenses)
Releases a mip_cc_delegation_license_settings object.
const mip_cc_pre_license_format format
Definition delegation_license_cc.h:223
uint8_t * serializedLicense
Definition delegation_license_cc.h:171
mip_cc_handle * mip_cc_delegation_licenses
Handle to a collection of mip_cc_delegation_license objects.
Definition delegation_license_cc.h:57
mip_cc_handle * mip_cc_delegation_license_settings
Handle to a DelegationLicenseSettings object.
Definition delegation_license_cc.h:52
mip_cc_handle * mip_cc_delegation_license
Handle to a DelegationLicense object.
Definition delegation_license_cc.h:47
uint8_t int32_t * serializedLicenseSize
Definition delegation_license_cc.h:172
const uint8_t int32_t mip_cc_string_list bool mip_cc_delegation_license_settings * delegationLicenseSettings
Definition delegation_license_cc.h:80
const char ** user
Definition delegation_license_cc.h:243
const uint8_t int32_t mip_cc_string_list bool mip_cc_delegation_license_settings mip_cc_error * errorInfo
Definition delegation_license_cc.h:81
const uint8_t int32_t mip_cc_string_list users
Definition delegation_license_cc.h:78
const uint8_t int32_t mip_cc_string_list bool acquireEndUserLicenses
Definition delegation_license_cc.h:79
const uint8_t * serializedPublishingLicense
Definition delegation_license_cc.h:76
Defines C-Style MipContext functions.
const char const mip_cc_log_level const bool const mip_cc_logger_delegate const mip_cc_telemetry_configuration mip_cc_mip_context * mipContext
Definition mip_context_cc.h:79
Defines C-Style ProtectionHandler interface.
mip_cc_pre_license_format
Defines pre-license format.
Definition protection_handler_cc.h:52
mip_cc_result
API success/failure result.
Definition result_cc.h:44
Contains C API definitions for common string list.
Error information.
Definition error_cc.h:79
Opaque handle to MIP object.
Definition common_types_cc.h:44