Поделиться через


CustomProtectedOutputStream class

Implements a wrapper of the input stream allowing writing of a custom RMS protected output stream. Custom denotes that the class is more configurable than the base output stream.

Signature

public class CustomProtectedOutputStream extends OutputStream

CustomProtectedOutputStream extends Android's base class. For information on base class methods see, OutputStream.

Methods

Name Description
create asynchronous
Asynchronously creates an OutputStream for reading protected content.
create synchronous
Synchronously creates an OutputStream for reading protected content.
getEncryptedContentLength
Gets the calculated size of the encrypted content.
getUserPolicy
Gets the user policy associated with the stream.

Defined in

CustomProtectedOutputStream.java

Supported Platforms

Minimum supported OS version
Android 4.0.3 (API level 15)

Package

com.microsoft.rightsmanagement

Thread Safety

Members of this class are not guaranteed to be thread safe.