MSMutableProtectedData close method

Writes and finalizes the protection of any remaining data, smaller than the block size, that is left over from preceding append and update calls.

Signature

- (BOOL)close:(NSError **)errorPtr; 

Parameters

Name Datatype Notes
errorPtr
NSError **
Optional. If an error occurs, contains the error code and details.

Returns

Type: BOOL

YES if the operation is successful; otherwise, NO. If the operation isn't successful, the errorPtr parameter references an NSError object that contains more information about the error.

Defined in

MSMutableProtectedData.h

Supported Platforms

Minimum supported OS versions
iOS 7.0 and OS X 10.8