Share via


CustomProtectedOutputStream.getEncryptedContentLength method

Gets the calculated size of the encrypted content.

Signature

static public long getEncryptedContentLength(long decryptedContentLength, 
                                        UserPolicy userPolicy) throws InvalidParameterException

Parameters

Name Datatype Notes
decryptedContentLength
long
Must be greater then 0 (zero).
userPolicy
UserPolicy

Returns

A long

Defined in

CustomProtectedOutputStream.java

Supported Platforms

Minimum supported OS version
Android 4.0.3 (API level 15)