ProtectedBuffer class

Used to process a protected buffer

Signature

public class ProtectedBuffer

Methods

Name Description
create
Creates ProtectedBuffer using a UserPolicy.
getBlockSize
Gets the minimum block size that decryption and encryption calls should use.
getOutputBufferSize
Gets the required minimum output buffer size, in bytes, for the operation.
decryptAlignedBlocks
Decrypts aligned blocks of data.
encryptAlignedBlocks
Encrypts aligned blocks of data.

Defined in

ProtectedBuffer.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.