com.microsoft.rightsmanagement

Provides classes and interfaces that represent rights over protected content and that enable protected files to be read and written as protected file streams. Also provides classes and interfaces that represent custom policies and that enable reading and writing streams that use custom policies.

In this section

AuthenticationCompletionCallback interface

An interface provided the SDK used to return an access token to the SDK from the application using it.

AuthenticationRequestCallback interface

AuthenticationRequestCallback interface definition.

Consent class

Base class for types of user consents.

ConsentCallback interface

Interface for managing consent.

ConsentCompletionCallback interface

Interface for ConsentCompletionCallback.

ConsentResult class

Container class for consent result.

CreationCallback<T> interface

An application implements a CreationCallback<T>

CustomProtectedInputStream class

This class implements a wrapper of the input stream allowing writing of a custom RMS protected output stream.

CustomProtectedOutputStream class

Implements a wrapper of the input stream allowing writing of a custom RMS protected output stream.

IAsyncControl interface

Provides a cancel method for some asynchronous operations.

LicenseMetadata interface

Information for the document tracking feature.

PolicyDescriptor class

Information associated with a user's custom policy.

ProtectedBuffer class

Used to process a protected buffer

ProtectedFileInputStream class

Implements a wrapper of the input stream allowing reading of an RMS protected input stream.

ProtectedFileOutputStream class

A class that represents a stream that can write a protected file.

TemplateDescriptor class

Information associated with a user's tenant template policy.

UserPolicy class

Represents a user policy

UserRights class

Maps collections of users to a collection of rights.

UserRoles class

Maps collections of users to a collection of roles.

CommonRights class

Rights that are supported by all applications.

ConsentType enum

Type of user consent.

EditableDocumentRights class

Rights that apply to editable documents.

EmailRights class

Rights that apply to emails.

NotificationPreference enum

Type of user notification preference.

NotificationType enum

Type of user notification.

PolicyAcquisitionFlags class

Defines modes for consuming protected content.

Roles class

Roles for protecting documents.

UserPolicyCreationFlags class

Option flags for creating user policies.

UserPolicyType enum

Types of user policies.