MSCustomProtectedData getEncryptedContentLengthWithPolicy:policy:contentLength
Returns the length of the encrypted content.
Signature
+ (NSUInteger)getEncryptedContentLengthWithPolicy:(MSUserPolicy *)policy
contentLength:(NSUInteger)contentLength;
Parameters
Name | Datatype | Notes |
---|---|---|
policy |
MSUserPolicy * |
Required. Pointer to the user policy for which you want the content length. |
contentLength |
NSUInteger |
Required. The length of the content. |
Returns
The encrypted content length as an NSUInteger.
Defined in
MSCustomProtectedData.h
Supported Platforms
Minimum supported OS versions |
iOS 7.0 and OS X 10.8 |