Creates a protection descriptor whose access permissions are defined by users and rights.
Sets the label information for UDP protection.
Sets a double key url for custom protection.
Sets the signed application data for the protection.
Sets the encrypted application data for the protection.
Sets the protection referrer email address.
Sets if protection policy allows offline content access or not.
Sets protection expiration time (in seconds since epoch)
Set the description of the protection.
Set the name of the protection.
Build a protection descriptor from the protection descriptor builder.
Creates a Protection Descriptor Builder whose access permissions are defined by the protection template.
Creates a ProtectionDescriptorBuilder for a license type with the specified users.
Creates a protection descriptor builder based on an existing protection descriptor.
Creates a protection descriptor builder whose access permissions are defined by an RMS template.
Creates a protection descriptor builder whose access permissions are defined by users and roles.
- Parameters
-
userRights | Groups of users and their rights |
userRightsCount | Number of user/rights groups |
protectionDescriptorBuilder | [Output] Newly-created protection descriptor builder instance |
errorInfo | [Output] (Optional) Failure info if operation result is error |
- Returns
- Result code indicating success or failure
- Parameters
-
userRoles | Groups of users and their roles |
userRolesCount | Number of user/roles groups |
protectionDescriptorBuilder | [Output] Newly-created protection descriptor builder instance |
errorInfo | [Output] (Optional) Failure info if operation result is error |
- Returns
- Result code indicating success or failure
- Parameters
-
templateId | Template ID in GUID format |
protectionDescriptorBuilder | [Output] Newly-created protection descriptor builder instance |
errorInfo | [Output] (Optional) Failure info if operation result is error |
- Returns
- Result code indicating success or failure
- Parameters
-
protectionDescriptor | The protection descriptor to base this builder on |
protectionDescriptorBuilder | [Output] Newly-created protection descriptor builder instance |
errorInfo | [Output] (Optional) Failure info if operation result is error |
- Returns
- Result code indicating success or failure
- Parameters
-
licenseType | The license type to create this Protection Descriptor Builder for |
usersWithDefaultRights | Collection of users to add to the license with default rights for the specific type |
usersWithDefaultRightsCount | Number of users in the usersWithDefaultRights array |
additionalUsersAndRights | Optional additional collection of users-to-rights mappings |
additionalUsersAndRightsCount | Number of users in the additionalUsersAndRights array |
protectionDescriptorBuilder | [Output] Newly-created protection descriptor builder instance |
errorInfo | [Output] (Optional) Failure info if operation result is error |
- Returns
- Result code indicating success or failure
- Parameters
-
serializedTemplate | Protection template |
serializedTemplateSize | Size of the serialized template |
protectionDescriptorBuilder | [Output] Newly-created protection descriptor builder instance |
errorInfo | [Output] (Optional) Failure info if operation result is error |
- Returns
- Result code indicating success or failure
- Parameters
-
protectionDescriptorBuilder | Protection descriptor builder |
protectionDescriptor | [Output] Newly-created protection descriptor instance |
errorInfo | [Output] (Optional) Failure info if operation result is error |
- Returns
- Result code indicating success or failure
- Parameters
-
protectionDescriptorBuilder | Protection descriptor builder |
name | Protection name |
errorInfo | [Output] (Optional) Failure info if operation result is error |
- Returns
- Result code indicating success or failure
- Parameters
-
protectionDescriptorBuilder | Protection descriptor builder |
description | Protection description |
errorInfo | [Output] (Optional) Failure info if operation result is error |
- Returns
- Result code indicating success or failure
- Parameters
-
protectionDescriptor | Descriptor associated with protected content |
contentValidUntil | Content expiration time (in seconds since epoch) |
errorInfo | [Output] (Optional) Failure info if operation result is error |
- Returns
- Result code indicating success or failure
- Parameters
-
protectionDescriptorBuilder | Protection descriptor builder |
allowOfflineAccess | If policy allows offline content access or not |
errorInfo | [Output] (Optional) Failure info if operation result is error |
protectionDescriptorBuilder | Protection descriptor builder |
uri | Address to referrer unauthenticated users to |
errorInfo | [Output] (Optional) Failure info if operation result is error |
- Returns
- Result code indicating success or failure
- Parameters
-
protectionDescriptorBuilder | Protection descriptor builder |
appData | Application-specific data to encrypt |
errorInfo | [Output] (Optional) Failure info if operation result is error |
- Returns
- Result code indicating success or failure
- Parameters
-
protectionDescriptorBuilder | Protection descriptor builder |
appData | Application-specific data for unencrypted section |
errorInfo | [Output] (Optional) Failure info if operation result is error |
- Returns
- Result code indicating success or failure
- Parameters
-
protectionDescriptorBuilder | Protection descriptor builder |
doubleKeyUrl | Double key url |
errorInfo | [Output] (Optional) Failure info if operation result is error |
- Returns
- Result code indicating success or failure
- Parameters
-
protectionDescriptorBuilder | Protection descriptor builder |
labelId | Label ID |
tenantId | Tenant ID |
errorInfo | [Output] (Optional) Failure info if operation result is error |
- Returns
- Result code indicating success or failure