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.


public class CustomProtectedOutputStream extends OutputStream

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


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

Defined in

Supported Platforms

Minimum supported OS version
Android 4.0.3 (API level 15)


Thread Safety

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